d3.js spirograph - http://nylen.io/d3-spirograph/
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9c54a82 Jan 23, 2016
Permalink
Failed to load latest commit information.
.gitignore Initial commit Jan 23, 2016
README.md Initial commit Jan 23, 2016
css.css Initial commit Jan 23, 2016
d3.v3.js Initial commit Jan 23, 2016
d3.v3.min.js Initial commit Jan 23, 2016
dat.gui.js Initial commit Jan 23, 2016
index.html Initial commit Jan 23, 2016
js.js Initial commit Jan 23, 2016

README.md

d3-spirograph

This is a d3.js simulation of the classic Spirograph toy.

The application draws an SVG of a hypotrochoid curve using multiple path elements rather than just one with a stroke and no fill. It's designed this way so that the resulting SVGs can be converted to 3D-printable files using the paths2openscad Inksacpe extension. This works better with simpler curves and thicker lines: