test-block
This example shows a p5.js sketch that outputs the text "hello world" in both a static and interactive form. The static version renders the complete string in the center of the canvas, while the interactive version responds to mouse movement by drawing individual letters at the cursor's position with random colors. The code uses p5.js text functions like `p5.text`, `p5.textFont`, and `p5.mouseMoved` to achieve this. It is built with Blockbuilder and a provided railroad image.
AI-generated descriptionHere is a test block for playing with p5.js. Also, to begin making the case for why plaintext and Markdown can be so powerful.
http://blockbuilder.org/SammeSheikh/76cafcb8aa94f26f4593ce8fb4d69460

Here is an example of real-time text editing (code, documentation) through commonly available client-side software in combination with freely available server-side services (storage, distribution) to generate open, modifiable, platform-independent, reproducible "applications". And in doing so participating in the gamut of private and public (and more importantly, combinations thereof!) entities that make the web happen. Also, railroads!
- We need to create four files
.blockREADME.mdindex.htmlsketch.js
- We need to add these to a GitHub gist
- We need to navigate to the URL
http://blockbuilder.org/[your github username]/[your gist id] - The last step is to play around with the code I've provided and/or using p5.js documentation.
Built with blockbuilder.org
forked from <a href='http://bl.ocks.org/bulbil/'>bulbil</a>'s block: <a href='http://bl.ocks.org/bulbil/1646e9a53526c4ff6362b56d595cc244'>test-block</a>