Common Lisp OpenGL Renderer

OpenGL


I used Lisp to build an immediate-mode OpenGL renderer with a ton of features.


In my final demo, I show features like:

  • Fractals
  • Transforms
  • Keyframes
  • Smooth and Flat Shading
  • Height Fields
  • Character Joint Rigs


The terrain is generated using a height field, with y values displaced by a bunch of random sine waves, and trees are placed on random points throughout the scene.


Fractals


I’m most proud of my fractal system, I found that interpolating between random fractals leads to chaotic and beautiful behavior.


2D


My renderer also has 2D capabilities, and I used it to make a model animation recreating geometry dash.

Fractal-Tree.png