Galton Board in p5.js

Simon saw a prototype of this Galton Board in a video about maths toys (it works similarly to a sand timer in a see-through container). He created his digital simulation … Continue reading Galton Board in p5.js

Simon Builds a Chess AI with Minimax

I’ve been terrible at keeping this blog up to date. One of Simon’s best project in December 2019 was creating a chess robot and I haven’t even shared it here. … Continue reading Simon Builds a Chess AI with Minimax

Crack Simulation in p5.js

Link to the interactive project and the code: https://editor.p5js.org/simontiger/sketches/n6-WZhMC3 Simon built a simple cellular automaton (rule 22) model for fracture. He read about this model a couple nights before in … Continue reading Crack Simulation in p5.js

Simon’s Math Games in p5.js

Simon loves the Maths Is Fun website and has borrowed a couple of ideas for cool games from there. He wrote the code completely on his own, from scratch. Below … Continue reading Simon’s Math Games in p5.js

Simon’s Random Number Generator

This one’s back from mid-October, forgot to post here. Simon created a random number generator that generates a frequency, and then picks it back up. Then, it calculates the error … Continue reading Simon’s Random Number Generator

Simon’s first steps in Stephen Wolfram’s Computational Universe

Simon has been enjoying Stephen Wolfram’s huge volume called A New Kind of Science and is generally growingly fascinated with Wolfram’s visionary ideas about the computational universe. We have been … Continue reading Simon’s first steps in Stephen Wolfram’s Computational Universe

Why the Golden Ratio and not -1/the Golden Ratio?

Take any real number and call it x. Then plug it into the equation f(x) = 1 + 1/x and keep doing it many times in a row, plugging the … Continue reading Why the Golden Ratio and not -1/the Golden Ratio?

It takes the sun to the ground, and violet on the observer’s eye.

Simon writes: This amazing sentence is generated by a Markov Text-Generation Algorithm. What is a Markov Algorithm? Simply put, it generates the rules from a source text, and it generates … Continue reading It takes the sun to the ground, and violet on the observer’s eye.

Heat Equation Visualization

A visual solution to Fourier’s heat equation in p5. Play with the two versions online: https://editor.p5js.org/simontiger/present/EaHr9886H https://editor.p5js.org/simontiger/sketches/EaHr9886H https://editor.p5js.org/simontiger/present/ruN8CQV77https://editor.p5js.org/simontiger/sketches/ruN8CQV77 Inspired by 3Blue1Brown’s Differential Equations series.