Skip to content

alfonsonishikawa/birollo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Birollo

Cross eyes stereoscopic canvas library.

Project under development

Developed after a 12 hours javascript course, started as a proof of concept to test prototype features in javascript. Seems canvas makes some checks about the instance when extending, so it is not posible to do what I wanted to do. Anyway, I managed to make the programming of the stereoscopic efect relatively transparent for the programmer.

Online example: http://alfonsonishikawa.github.io/birollo

I encourage to read the instructions before (not mine): http://www.starosta.com/3dshowcase/ihelp.html

Features implemented

  • fillRect
  • drawImage

Features TO DO

  • Enable/disable the stereoscopic effect.
  • Queue the drawing commands to draw at the end in proper order (calling a new function commint() or something).
  • Callback to determine the depth of the elements, so already existing programs can "realtively" easy to update to stereoscopic.
  • Computations of X, Y and Depth cached.
  • Implement the strereoscopic wrapper for all possible functions of canvas (http://www.w3.org/TR/2014/CR-2dcontext-20140821/)

About

Cross eyes stereoscopic canvas library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published