Simon translated the Fractal Spirograph Coding Challenge from Processing into JavaScript
Simon translated the Fractal Spirograph Coding Challenge from Processing into JavaScript:
a homeschooling blog about Simon, a young mathematician and programmer, and his little sister Neva. Visit https://simontiger.com
Simon translated the Fractal Spirograph Coding Challenge from Processing into JavaScript:
Simon has written a code about using Polar Distribution to create clusters in p5.js (JavaScript). The code is available online at: https://alpha.editor.p5js.org/simontiger/sketches/Sy1CX71xZ The little particles are attracted to one another but don’t … Continue reading Polar Distribution to create clusters
Simon created an engine that uses trigonometrical (polar coordinates) formulas to produce beautiful roses. He reproduced the code originally created by Daniel Shiffman from memory and searched for the formulas … Continue reading Polar Roses in JavaScript
In today’s project (partly based upon Daniel Shiffman’s Diffusion-Limited Aggregation Coding Challenge), Simon attempted to combine the generative algorithm “Diffusion-Limited Aggregation” (DLA) and an IQ Puzzler game. As DLA visual pattern is … Continue reading Random Walker Puzzler. Diffusion-Limited Aggregation (Simon’s own code)
On Tuesday and Wednesday, Simon ventured upon a serious quest – he translated Daniel Shiffman’s multi-part Traveling Salesperson Coding Challenge from JavaScript into Processing (Java). The travelling salesman problem (TSP) asks … Continue reading Simon translated Travelling Salesperson Coding Challenge from JavaScript into Processing (Java)
Simon followed up on Daniel Shiffman’s Binary Tree Coding Challenge and made his own version: he flipped the tree so that it grows from the bottom (and not from the … Continue reading Binary Tree Coding Challenge, Simon’s version
The next exciting step in writing his own code about spring force: Simon actually created an interface to allow anyone to build his own shape made of springs and particles! Simon … Continue reading Spring Animation Tool (Simon’s own code)
Simon used Chapter 3 (Oscillation) of Daniel Shiffman’s book The Nature of Code as the theoretical basis for creating his own code. First, he played around with what he calls “soft springs” – … Continue reading Soft Springs (Simon’s own code)
Today Simon was watching Daniel Shiffman’s tutorials to learn about drag force and how to apply it when building a spring simulation in p5.js. Simon wrote the formula for drag force … Continue reading Oscillation and Drag Force: Spring Project.
In these videos Simon explains looping through an array and adding while simultaneously removing things from that array. He recorded this presentation while working on an evolution simulation (Evolutionary Steering Behaviors, see … Continue reading Looping through an array lecture
On Wednesday Simon went on with playing god (evolution simulation) and translated Daniel Shiffman’s Evolutionary Steering Behaviors Coding Challenge from JavaScript to Java. The goal of the challenge is to … Continue reading Simulating Evolution: Evolutionary Steering Behaviors
Simon has studied Context-Free Grammar, following a set of tutorials from Daniel Shiffman’s ITP course “Programming from A to Z“. Context-Free Grammar is a set of recursive “replacement” rules to define … Continue reading Context-Free Grammar