Skip to content

skeskinen/Cani2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cani2D

Javascript canvas skeletal animation library.

Purpose of this library is to provide easy-to-use skeletal animation system to your HTML5 canvas works. With skeletal animations you can have your animations running at any framerate without having to think about memory or bandwidth.

Current release: v0.0.1.

Examples:

Things working:

  • Loading and drawing models.
  • Bone rotations.
  • Playing an animation.
  • Bezier interpolation between keyframes.

Blender exporter

Part of the package is Blender exporter that can be used to make your own animations. Few notes about the Blender exporter:

  • Currently for version 2.63.
  • Use 'Top Ortho' view, positive y up, positive x right.
  • You have to have uv map and texture for your model, there is no "basic material".
  • One NLA track is one animation. Actions are not animations.

TODO

  • Python exporter is a mess.
  • Way to swap parts of the model (for facial expressions and stuff).
  • Multiple animations at the same time.
  • Improving(?) and documenting the model .json format.
  • Performance improvements.
  • Getting rid of for ... in loops.
  • Documentation & examples.
  • A lot of other stuff.

About

Javascript canvas skeletal animation library.

Resources

Stars

Watchers

Forks

Packages

No packages published