FreddieRa / p5.3D

A library extending the functionality of WebGL allowing users to easily create 3D objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

p5.3D

A library extending the functionality of WebGL allowing users to easily create 3D objects.

P5.3D

There are currently 3 different 3D objects available:

All of these work by generating a canvas using "createGraphics()", and passing that into the Object3D class. This then converts that into an array of 1s and 0s (where black or dark gray pixels are 1s, everything else a 0), onto which a number of rectangles are mapped to minimize the number of primitives needing to be drawn.

Check out the wiki to see how they work, or read my article on OpenProcessing!

About

A library extending the functionality of WebGL allowing users to easily create 3D objects

License:MIT License


Languages

Language:JavaScript 100.0%