0.1.6 • Published 6 years ago
jamiship
Licence
MIT
Version
0.1.6
Deps
0
Size
23 kB
Vulns
0
Weekly
0
JamiShip
JamiShip is a lightweight JavaScript Animation Engine to manipulate movable components on HTML canvas. The engine provides as below:
- animation engine which control frame of animation
- We can set frame option to ( asynchronized fixed time (timer) / synchronized frame (turn) )
- custom operation can be run at each frame by inserting it to the engine
- JS-based custom operation generator
- We can code component's behavior by javascript function. We can use three functions
- setup(): run before animation starts
- init(): run for initial frame when animation starts
- loop(): run for each frame when animation starts
- We can code component's behavior by javascript function. We can use three functions
- Component Management on engine
- component objects are on control of animation engine
- syntax of components are also given in
class_exampledirectory - you can also refer to our demo code to use this module
- logger for animation result
- Presquities: we follow react hook's state structure on logger. We need an
[state, statesetter]to initialize logger - You can write log on engine runtime, component methods
- Presquities: we follow react hook's state structure on logger. We need an
Examples
A demo using JamiShip engine [ Repository ]