fractal string art toy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
COPYING
README.md
_config.yml
index.html
server.py
spangler.js

README.md

spangler_js

Spangler is a fractal string art toy for making little things like:

spangler movie

What is Spangler?

Spangler is a graphics algorithm that displays number sequences (for example 2,6,5,4,3) in a fashion that can be described in English as

Draw 3 groups of 4 groups of 5 groups of figures with 6 vertices where the lines travel a distance of 2 vertices.

Examples

description spangle spec image
Triangle 1 3
Square 1 4
Pentacle 2 5
Star of David 2 6
Sierpinski's Triangle 1 3 3
Sierpinski's Triangle 1 3 3 3
Sierpinski's Triangle 1 3 3 3 3
a rather pretty one 1 3 5 2 9

Demo

try it here

usage

  • up arrow increase value
  • down arrow decrease value
  • right arrow move to next term
  • left arrow move to previous term
  • enter mark the term as the one to color, or cycle colors
  • del delete the term

browsers:

  • Safari: works well
  • Chrome: works well
  • Firefox: an issue has been reported but not fixed
  • IE: unknown