Skip to content

JavaScript library for simple 3D graphics and visualisation on a HTML5 canvas 2D renderer. It does not use WebGL. Works on all HTML5 browsers, including desktop, iOS and Android.

License

Notifications You must be signed in to change notification settings

khalla/phoria.js

Repository files navigation

phoria.js

JavaScript library for simple 3D graphics on a canvas 2D renderer. It does not use WebGL.

Works on any device that can display HTML5 Canvas - so all modern browsers and including iOS and Android.

It uses the excellent vector and matrix maths library http://glmatrix.net

Exciting live demo pages:

http://www.kevs3d.co.uk/dev/phoria/

http://www.kevs3d.co.uk/dev/phoria/test0.html - test 0 - basic cube on grid

http://www.kevs3d.co.uk/dev/phoria/test0t.html - test 0t - textured cube

http://www.kevs3d.co.uk/dev/phoria/test0k.html - test 0k - WASD and arrow keys move around scene

http://www.kevs3d.co.uk/dev/phoria/test1.html - test 1 - animated point lights around a cube

http://www.kevs3d.co.uk/dev/phoria/test2.html - test 2 - imported .obj file

http://www.kevs3d.co.uk/dev/phoria/test3.html - test 3 - sphere with point lighting

http://www.kevs3d.co.uk/dev/phoria/test3s.html - test 3s - software rendered triangles

http://www.kevs3d.co.uk/dev/phoria/test3p.html - test 3p - lightsourced point sphere

http://www.kevs3d.co.uk/dev/phoria/test4g.html - test 4g - particle emitter with gravity

http://www.kevs3d.co.uk/dev/phoria/test4p.html - test 4p - particles as point lights

http://www.kevs3d.co.uk/dev/phoria/test4t.html - test 4t - sprite particles flame effect

About

JavaScript library for simple 3D graphics and visualisation on a HTML5 canvas 2D renderer. It does not use WebGL. Works on all HTML5 browsers, including desktop, iOS and Android.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.8%
  • HTML 49.2%