The Three-Body Problem in p5.JS

Simon’s visualization of the notorious thee-body problem (two stars and a particle) in 1D: https://editor.p5js.org/simontiger/sketches/WTUoBaxgo and in 2D: https://editor.p5js.org/simontiger/sketches/B0pQl94pd

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

Nash Equilibrium

Simon explaining the Nash Equilibrium with a little game in p5.js. Play it yourself at: https://editor.p5js.org/simontiger/sketches/lfP4dKGCs Inspired by TedEd video Why do competitors open their stores next to one another? … Continue reading Nash Equilibrium

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.

Encoding and Cracking Codes in Python

Had great fun learning how to crack codes using Python! Simon is currently following the Programming with Python course on Brilliant.org and showed me how to see whether an encrypted … Continue reading Encoding and Cracking Codes in Python

Slitscan and Edge Detection in p5.js

Simon writes: Made a cool #slitscan effect you all can play with: https://editor.p5js.org/simontiger/full/Xr8F_KmnU Code here: https://editor.p5js.org/simontiger/sketches/Xr8F_KmnU I have actually figured out the appropriate way to move the image of the … Continue reading Slitscan and Edge Detection in p5.js