🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 70 (from laksa046)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
7 hours ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://processing.org/examples/brownian.html
Last Crawled2026-04-06 05:42:48 (7 hours ago)
First Indexed2014-10-24 15:42:31 (11 years ago)
HTTP Status Code200
Meta TitleBrownian motion / Examples / Processing.org
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
Recording random movement as a continuous line. /** * Brownian motion. * * Recording random movement as a continuous line. */ int num = 2000; int range = 6; float[] ax = new float[num]; float[] ay = new float[num]; void setup() { size(640, 360); for(int i = 0; i < num; i++) { ax[i] = width/2; ay[i] = height/2; } frameRate(30); } void draw() { background(51); // Shift all elements 1 place to the left for(int i = 1; i < num; i++) { ax[i-1] = ax[i]; ay[i-1] = ay[i]; } // Put a new value at the end of the array ax[num-1] += random(-range, range); ay[num-1] += random(-range, range); // Constrain all points to the screen ax[num-1] = constrain(ax[num-1], 0, width); ay[num-1] = constrain(ay[num-1], 0, height); // Draw a line connecting the points for(int i=1; i<num; i++) { float val = float(i)/num * 204.0 + 51; stroke(val); line(ax[i-1], ay[i-1], ax[i], ay[i]); } } This example is for Processing 4+. If you have a previous version, use the examples included with your software. If you see any errors or have suggestions, please let us know .
Markdown
- [Processing Foundation](https://processingfoundation.org/) - [Processing](https://processing.org/) - [p5.js](https://p5js.org/) - [Processing Android](https://android.processing.org/) - [Processing Python](https://py.processing.org/) # [Processing](https://processing.org/) - [Home](https://processing.org/) - [Download](https://processing.org/download) - Documentation - [Reference](https://processing.org/reference) - [Environment](https://processing.org/environment) - [Libraries](https://processing.org/reference/libraries) - [Tools](https://processing.org/reference/tools) - [Wiki](https://wiki.processing.org/) - Learn - [Tutorials](https://processing.org/tutorials) - [Examples](https://processing.org/examples) - [Books](https://processing.org/books) - [Forum](https://discourse.processing.org/) - About - [Overview](https://processing.org/overview) - [People](https://processing.org/people) - [Privacy](https://processing.org/privacy) - [Donate](https://processing.org/donate) Examples\+ Learn→[Examples](https://processing.org/examples)→[Topics](https://processing.org/examples#topics)→[Motion](https://processing.org/examples#topics-motion) # Brownian motion Recording random movement as a continuous line. ### Highlighted Features - [Array](https://processing.org/reference/array) - [random()](https://processing.org/reference/random_) - [constrain()](https://processing.org/reference/constrain_) - [stroke()](https://processing.org/reference/stroke_) - [line()](https://processing.org/reference/line_) - Brownian Copy [Open In Processing](processing://open?sketch=LyoqCiAqIEJyb3duaWFuIG1vdGlvbi4gCiAqIAogKiBSZWNvcmRpbmcgcmFuZG9tIG1vdmVtZW50IGFzIGEgY29udGludW91cyBsaW5lLiAKICovCiAKaW50IG51bSA9IDIwMDA7CmludCByYW5nZSA9IDY7CgpmbG9hdFtdIGF4ID0gbmV3IGZsb2F0W251bV07CmZsb2F0W10gYXkgPSBuZXcgZmxvYXRbbnVtXTsgCgoKdm9pZCBzZXR1cCgpIAp7CiAgc2l6ZSg2NDAsIDM2MCk7CiAgZm9yKGludCBpID0gMDsgaSA8IG51bTsgaSsrKSB7CiAgICBheFtpXSA9IHdpZHRoLzI7CiAgICBheVtpXSA9IGhlaWdodC8yOwogIH0KICBmcmFtZVJhdGUoMzApOwp9Cgp2b2lkIGRyYXcoKSAKewogIGJhY2tncm91bmQoNTEpOwogIAogIC8vIFNoaWZ0IGFsbCBlbGVtZW50cyAxIHBsYWNlIHRvIHRoZSBsZWZ0CiAgZm9yKGludCBpID0gMTsgaSA8IG51bTsgaSsrKSB7CiAgICBheFtpLTFdID0gYXhbaV07CiAgICBheVtpLTFdID0gYXlbaV07CiAgfQoKICAvLyBQdXQgYSBuZXcgdmFsdWUgYXQgdGhlIGVuZCBvZiB0aGUgYXJyYXkKICBheFtudW0tMV0gKz0gcmFuZG9tKC1yYW5nZSwgcmFuZ2UpOwogIGF5W251bS0xXSArPSByYW5kb20oLXJhbmdlLCByYW5nZSk7CgogIC8vIENvbnN0cmFpbiBhbGwgcG9pbnRzIHRvIHRoZSBzY3JlZW4KICBheFtudW0tMV0gPSBjb25zdHJhaW4oYXhbbnVtLTFdLCAwLCB3aWR0aCk7CiAgYXlbbnVtLTFdID0gY29uc3RyYWluKGF5W251bS0xXSwgMCwgaGVpZ2h0KTsKICAKICAvLyBEcmF3IGEgbGluZSBjb25uZWN0aW5nIHRoZSBwb2ludHMKICBmb3IoaW50IGk9MTsgaTxudW07IGkrKykgeyAgICAKICAgIGZsb2F0IHZhbCA9IGZsb2F0KGkpL251bSAqIDIwNC4wICsgNTE7CiAgICBzdHJva2UodmFsKTsKICAgIGxpbmUoYXhbaS0xXSwgYXlbaS0xXSwgYXhbaV0sIGF5W2ldKTsKICB9Cn0K) ``` /** * Brownian motion. * * Recording random movement as a continuous line. */ int num = 2000; int range = 6; float[] ax = new float[num]; float[] ay = new float[num]; void setup() { size(640, 360); for(int i = 0; i < num; i++) { ax[i] = width/2; ay[i] = height/2; } frameRate(30); } void draw() { background(51); // Shift all elements 1 place to the left for(int i = 1; i < num; i++) { ax[i-1] = ax[i]; ay[i-1] = ay[i]; } // Put a new value at the end of the array ax[num-1] += random(-range, range); ay[num-1] += random(-range, range); // Constrain all points to the screen ax[num-1] = constrain(ax[num-1], 0, width); ay[num-1] = constrain(ay[num-1], 0, height); // Draw a line connecting the points for(int i=1; i<num; i++) { float val = float(i)/num * 204.0 + 51; stroke(val); line(ax[i-1], ay[i-1], ax[i], ay[i]); } } ``` ### Related Examples - [![](<data:image/svg+xml;charset=utf-8,%3Csvg height='113' width='200' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E>) ![Bounce]() ![Bounce](https://processing.org/static/5807550a44df6b0fbd178dcdedc3528a/a1453/Bounce.png)Bounce](https://processing.org/examples/bounce) - [![](<data:image/svg+xml;charset=utf-8,%3Csvg height='113' width='200' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E>) ![Bouncy Bubbles]() ![Bouncy Bubbles](https://processing.org/static/129f010071b65b11645b088b73879825/a1453/BouncyBubbles.png)Bouncy Bubbles](https://processing.org/examples/bouncybubbles) - [![](<data:image/svg+xml;charset=utf-8,%3Csvg height='113' width='200' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E>) ![Circle Collision]() ![Circle Collision](https://processing.org/static/e42eed2599922bf43ca51344cc39d5ec/a1453/CircleCollision.png)Circle Collision](https://processing.org/examples/circlecollision) - [![](<data:image/svg+xml;charset=utf-8,%3Csvg height='113' width='200' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E>) ![Linear]() ![Linear](https://processing.org/static/ab721b198253a8bf14b1563acca0b94a/a1453/Linear.png)Linear](https://processing.org/examples/linear) - [![](<data:image/svg+xml;charset=utf-8,%3Csvg height='113' width='200' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E>) ![Morph]() ![Morph](https://processing.org/static/48210264e9dc13b3e11946d4abf4f6a1/a1453/Morph.png)Morph](https://processing.org/examples/morph) - [![](<data:image/svg+xml;charset=utf-8,%3Csvg height='113' width='200' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E>) ![Moving On Curves]() ![Moving On Curves](https://processing.org/static/87871205be52c2c13afdb06c07e4f0df/a1453/MovingOnCurves.png)Moving On Curves](https://processing.org/examples/movingoncurves) This example is for Processing 4+. If you have a previous version, use the examples included with your software. If you see any errors or have suggestions, please [let us know](https://github.com/processing/processing-examples/issues). ### Contact Us Feel free to write us\! [hello@processing.org](mailto:hello@processing.org) - [GitHub](http://github.com/processing/) - [Discord](https://discord.gg/mt2CnebPsJ) - [Bluesky](https://bsky.app/profile/processing.org) - [Mastodon](https://mastodon.social/@processing/) - [Instagram](https://www.instagram.com/processing_core/) - [Facebook](https://www.facebook.com/people/Processing-Core/61567491443061/) - [Medium](https://medium.com/@ProcessingOrg) Processing is an open project initiated by [Ben Fry](https://benfry.com/) and [Casey Reas](http://reas.com/). It is developed by a team of contributors around the world.
Readable Markdown
Recording random movement as a continuous line. ``` /** * Brownian motion. * * Recording random movement as a continuous line. */ int num = 2000; int range = 6; float[] ax = new float[num]; float[] ay = new float[num]; void setup() { size(640, 360); for(int i = 0; i < num; i++) { ax[i] = width/2; ay[i] = height/2; } frameRate(30); } void draw() { background(51); // Shift all elements 1 place to the left for(int i = 1; i < num; i++) { ax[i-1] = ax[i]; ay[i-1] = ay[i]; } // Put a new value at the end of the array ax[num-1] += random(-range, range); ay[num-1] += random(-range, range); // Constrain all points to the screen ax[num-1] = constrain(ax[num-1], 0, width); ay[num-1] = constrain(ay[num-1], 0, height); // Draw a line connecting the points for(int i=1; i<num; i++) { float val = float(i)/num * 204.0 + 51; stroke(val); line(ax[i-1], ay[i-1], ax[i], ay[i]); } } ``` This example is for Processing 4+. If you have a previous version, use the examples included with your software. If you see any errors or have suggestions, please [let us know](https://github.com/processing/processing-examples/issues).
Shard70 (laksa)
Root Hash3485889765796472470
Unparsed URLorg,processing!/examples/brownian.html s443