A small tool for making art via circle packing. Made in JavaScript.
- Either run it via GitHub Pages or download and run it somewhere else (locally, your own server, etc.).
- Choose the settings you want.
- Click
Generate
. - If you want to download the SVG, click
Download SVG
.
width
: The width of the SVG to output (in pixels)height
: The height of the SVG to output (in pixels)circles
: How many circles to try to createattempts
: How many times to try to place a circle before giving upstartRadius
: The beginning radius of each circlemaxRadius
: The max size a circle's radius can getradiusStep
: The increment value to use when growing a circle up fromstartRadius
borderPadding
: How much empty space to leave around each circlebgColor
: The background CSS color to use (hex, rgb, hsl)circleColor
: The CSS color to use for the circles (hex, rgb, hsl)
When turbulence is activated, there are two sequential sets of turbulence/displacement filters used, thus the 1
and 2
suffixes.
turbulence
: Set to1
to use the built-in turbulence/displacement filters, or set to0
to turn them offturbFreq1
/turbFreq2
: See feTurbulence documentationturbOctaves1
/turbOctaves2
: See feTurbulence documentationturbScale1
/turbScale2
: See feDisplacementMap documentation