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
a homeschooling blog about Simon, a young mathematician and programmer, and his little sister Neva. Visit https://simontiger.com
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
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
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
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
Simon has written a short Python code solving the Towers of Hanoi puzzle: https://repl.it/@simontiger/Towers-of-Hanoi
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.
Simon solving the Ackermann function (a function that cannot be de-recursed). It’s computable but the computer’s soon runs out of its computing power (see the last line of code below):
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.
Simon writes: Made a little game where the computer thinks of a number 1-100, and you try to guess it within 7 takes! Hint: the algorithm is called “Binary Search”. … Continue reading Number Guessing Game
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
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