D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
sifbuilder
Full window
Github gist
d3js superformula mathematical force of nature forms or the beauty of the symmetry of the area invariant
<!DOCTYPE html> <meta charset="utf-8"> <title>Superformula</title> <style> path { stroke-width: 1.5px; stroke: #666; fill: #ddd; } #controls { position: absolute; width: 270px; font: 8px sans-serif; } #controls span, #controls label { position: relative; top: -5px; padding: 5px; display: inline-block; width: 8px; } #controls button { font: 10px sans-serif; padding: 5px; width: 70px; } </style> <div id="controls"></div> <script src="d3.v4.js"></script> <script src="superformula.js"></script> <script src="index.js"></script>