A ClojureScript-based HTML5 Canvas and SVG Graphics Playground, much like http://bl.ocks.org/ but specifically designed for showcasing small ClojuresScript code demos: The underlying agenda is to show how small simple functional programs can generate complex behaviour.

This page shows some of the gists we know about. Why not add yours?

Fork me on GitHub!

The humble cone contains the answers to fundamental questions about the universe. But not *this* one, its just pixels on the screen. What is mildly interesting about this cone is the way it is generated...

Experimenting with some basic image dithering, in the style of 10 PRINT (see also http://programming-enchiladas.destructuring-bind.org/rm-hull/4bf4ce47c4f615e9cfe6), the idea was inspired by *bitcraft's*...

Example world choropleth demonstrating C2 integration, using Albers equal-area conic projection (http://mathworld.wolfram.com/AlbersEqual-AreaConicProjection.html). C2 is a Clojure and ClojureScript data...

Exploring quadratic residues and fixed points with clock arithmetic and digraphs, in Clojurescript with force-directed graph layout provided by *arbor.js*. Inspired, in part, by http://pi3.sites.sheffield.ac.uk/tutorials/week-8....

A force-directed graph (using *arbor.js*) showing the orbits of small numbers under the Collatz map. Lothar Collatz first proposed the following conjecture in 1937: Take any natural number $n$. If $n$...

Newtons method (also know as the Newton-Raphson method) is a textbook example of an iterated method for finding successively better approximations to the roots (or zeroes) of a real-valued function. This...

Although this gist is not exactly the four bug problem (where bugs/mice/insects are placed at the corners of a regular polygon, and each bug then begins to move towards its immediate neighbour in an counter-clockwise...

Simple demonstration of using THREE.js with ClojureScript [from a fork of https://gist.github.com/spacemanaki/1157978], now working with thanks to @seabre

The Barnsley Fern is a fractal named after the British mathematician Michael Barnsley who first described it in his book *Fractals Everywhere*. The fern is one of the basic examples of self-similar sets,...

Faux rotating torus testing alpha channels with HSV->RGB color conversion in https://github.com/rm-hull/inkspot. Click the canvas area to toggle between solid color and wireframe. Inspiration: Jerome Herr's...