You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple openGL geometric shapes, fractals and scenes
House, grass and rotating sun
####sun house scene.cpp
We use recursive subdivision in order to create the sphere (sun) and cross product to estimate the perpendicular vectors.
---
### Pythagoras Tree fractal
####```pythagoras tree fractal.cpp```
The construction of the Pythagoras tree begins with a square. Upon this square are constructed two squares, each scaled down by a linear factor of ½√2, such that the corners of the squares coincide pairwise. The same procedure is then applied recursively to the two smaller squares, ad infinitum.
---
### Bouncing boxes
####```bouncing cubes.cpp```
Two bouncing cubes that rotate and scale up to a limit.