Skip to content

jonobr1/two.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

two.js

This is considered alpha grade. two.js is a two-dimensional drawing api built on top of three.js meant for modern browsers. Because it's in two-dimensions two handles the canvas, renderer, scene, and camera for you.

Things to do before making documentation site:

  • Standardize getter and setter functions.
    • Object.defineProperty is not _.extendable ruh roh... :(
  • Make logo
  • Add Two.Arc
  • Add Two.Group
  • Figure out how spline / curves are going to be handled
    • Still need to figure out how morph works with this.
    • How to do animate-in-out of lines a la motion graphics.
  • Figure out build procedure
  • More examples
  • Way to do unit tests? I'm thinking still image comparisons...
    • Started: Just need to do 'em now.
  • How do we deal with tweens? Morph targets are able to throw this logic onto the GPU, but I'm not sure if it makes sense to include TWEEN into Two.
    • Won't fix: Decided to use morph targets and let people use their own animation on top.
  • Is motion blur a possibility? Check out http://www.cse.yorku.ca/~shuryork/MotionBlurTest.html
  • Documentation / Tutorials
  • Test with textures instead of geometry. This is gonna take awhile.