| clean_files |
('../point_src/core/head.js', '../point_src/pointpen.js', '../point_src/compass.js', '../point_src/center.js', '../point_src/point-content.js', '../point_src/pointdraw.js', '../point_src/relative-xy.js', '../point_src/pointcast.js', '../point_src/point.js', '../point_src/stage-resize.js', '../point_src/functions/resolve.js', '../point_src/stage.js', '../point_src/events.js', '../point_src/automouse.js', '../point_src/functions/clamp.js', '../point_src/distances.js', '../point_src/protractor.js', '../point_src/text/beta.js', '../point_src/dragging.js', '../point_src/setunset.js', '../point_src/stroke.js', '../point_src/random.js') |
| markdown |
{'html': "<p>In this example we simply turn off the <code>clear</code> call to allow allow a persistent\ncanvas. For each step (<code>stage.count</code>) performs hundreds of randomly positioned points,\nusing the <code>random.within</code> function.</p>\n<p>As this function uses <code>Math.random</code> roughly 36k times per second, we gain a good insight to\n<em>how random</em> the random function is.</p>\n<p>If this function was <strong>truly random</strong> the image should resolve to a pure sphere.\nHowever you may to see a persistent pattern with micro gaps (undrawn dark spots).</p>\n<p>The gaps show the random function doesn't generate <em>some</em> numbers.\nGiven the image stabilises over time (it essentially stops changing) shows the random\nrepeats the same numbers after a certain period.</p>\n<p><code>xy = random.within(point, max=.5)</code></p>", 'content': "title: Brownian Blur\ncategories: brownian\n random\n blur\nfiles:\n head\n point\n stage\n mouse\n dragging\n stroke\n ../point_src/random.js\n---\n\nIn this example we simply turn off the `clear` call to allow allow a persistent\ncanvas. For each step (`stage.count`) performs hundreds of randomly positioned points,\nusing the `random.within` function.\n\nAs this function uses `Math.random` roughly 36k times per second, we gain a good insight to\n_how random_ the random function is.\n\nIf this function was **truly random** the image should resolve to a pure sphere.\nHowever you may to see a persistent pattern with micro gaps (undrawn dark spots).\n\nThe gaps show the random function doesn't generate _some_ numbers.\nGiven the image stabilises over time (it essentially stops changing) shows the random\nrepeats the same numbers after a certain period.\n\n```\nxy = random.within(point, max=.5)\n```"} |