Possible Base URLs

File Type MIME Type Vector/Bitmap Base URL
SVG image/svg+xml Vector http://okdna.com/cgi-bin/dots.svg
Compressed SVG image/svg+xml Vector http://okdna.com/cgi-bin/dots.svgz
PDF application/pdf Vector http://okdna.com/cgi-bin/dots.pdf
PNG image/png Bitmap http://okdna.com/cgi-bin/dots.png
JPEG image/jpeg Bitmap http://okdna.com/cgi-bin/dots.jpg
Icon image/x-icon Bitmap http://okdna.com/cgi-bin/dots.ico

Parameters

ParameterTypeDescriptionValid RangeDefault Value
seedIntegerSeed for the random number generator. Setting this allows for the generation of identical images (exactly the same sizes, positions & colors).[0, 232)Random
pageWidthIntegerThese measurements are in pixels, but they may be specified in inches with an "Inches" suffix (pageWidthInches, pageHeightInches, ...). An inch is 72 pixels.[16, 65535]512
pageHeightInteger[16, 65535]512
marginLeftInteger[0, 65535]0
marginRightInteger[0, 65535]0
marginTopInteger[0, 65535]0
marginBottomInteger[0, 65535]0
arrangementTypeTextThe packing formation.{circular, rectangular}circular
nCirclesIntegerNumber of circles.[2, 2000]800
circleSizeDevRealThe size variability of the circles. This is the σ parameter in a log-normal distribution. A value of 0 will make all circles the same size.[0.0, 2.0]0.2
showNumbersTextControls whether or not circle ID numbers are displayed.{off, on}off
reverseDrawTextIf set to on the last circle is drawn first, otherwise the center-most circle is drawn first.{off, on}off
nLayersIntegerThe number of shape-layers to be draw on top of each packed circle. The remaining parameters have a layer suffix.[1, 9]1
shapeTypenTextDraw a filled circle, lines going to tangent circles further from center, or lines going to tangent circles closer to the center.{circle, outward, inward}circle
coveragenTextWhich circles in the formation does this layer apply to?{all, perimeter, body}all
scalenRealThe ratio of the drawn circle's radius to the packed circle's radius. Values >1 result in overlap.(0.0, 1000.0]1.0/n
lineWeightnRealOnly applies to line-shapes.(0.0, 1000.0]5.0/n
dashPatternnReal[]Only applies to line-shapes. A even number of comma separated values representing the lengths of dashes & spaces relative to the line weight.nothing (solid line)
hueMeannRealMean angle on the color-wheel.[0.0, 360.0)Random
hueDevnRealStandard deviation of color-wheel angle.[0.0, 360.0)20
satMeannRealMean color saturation, grayscale = 0, vivid = 1.[0.0, 1.0]0.8
satDevnRealStandard deviation of color saturation. This is a Truncated Normal distribution.[0.0, 1.0]0.1
lightMeannRealMean lightness, black = 0, white = 1.[0.0, 1.0]0.5
lightDevnRealStandard deviation of lightness. This is a Truncated Normal distribution.[0.0, 1.0]0.1
opacityMeannRealMean opacity, clear = 0, opaque = 1.[0.0, 1.0]1/n
opacityDevnRealStandard deviation of opacity. This is a Truncated Normal distribution.[0.0, 1.0](n-1)/n2