Tiny Modules for Indie Game Development in Typescript.
- Tree-Shakeable Highly Modular Slim
- Tailored for Indie-Game-Developer Experience
- Designed with the effort of "Vibe Coding Principles", cross checked with ChatGPT, Gemini, and DeepSeek, and other AI tools.
import { TwisterJS, Loop } from 'twisterjs'
function _update(delta: number) {
console.log(TwisterJS, delta) // logs TwisterJS
}
function _render() {
}
// starts a game loop using requestAnimationFrame
let loop_cleanup = Loop(_update, _render)- Springs
- Delaying Actions
- Steering Behaviors
- Vector Math
- Rectangle and Line Math
- Polygon Math
- Drawing Shapes with efficient - WebGL Batched Rendering
- Game Loop
- Mouse Input
- Webpage Integration Manager
