Simple ray-marched rendering of the quaternion Julia set.
Clojure
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/quat_julia
.gitattributes
.gitignore
README.md
project.clj

README.md

Quaternion Julia Set Rendering, in Clojure

I've seen some Clojure examples of fractals (e.g. http://nakkaya.com/2009/10/04/fractals-in-clojure-buddhabrot-fractal/), but none of the quaternion Julia set. So here we are.

This project is a fairly minimal implementation of two ray-marching algorithms for rendering 3D slices of the (4D) quaternion Julia set. The renders are lit with a very simple Blinn-Phong implementation.

There's a very brief write-up of this code at my blog:

http://nicknash.me/2012/09/18/quaternion-julia-clojure/