3D Library logo
Project type
Web, iOS, and Android app

3D Library

Years active
2019
Technologies
WebGL
Languages
JavaScript

This project was the result of an effort to learn raw WebGL. To do so, I decided to make my own code library, with the intention being that I would learn a lot in the process, but would then have my own abstraction over it by the end of the project.

This library, which I called Oomph3D, covered quite a lot of the basics, and perhaps a little more. It supported the concept of scenes, to which you could easily add lights, and there was a selection of camera types: FollowCamera, FreeCamera, LookAtCamera, PerspectiveCamera, and ProjectionCamera.

There were a number of premade shape primitives, such as cubes, cylinders, planes, spheres, and an F shape, that latter of which I believe was in reference to a WebGL tutorial. Each could be assigned a texture or a flat colour.

It also had it’s own custom made animation system which could animate a variety of properties over time and with a variety of easing functions. Animations could even be sequenced on a “timeline”, which would allow for more complex animations to take place.