Spring Challenge 2020 PacMan in p5.js

Simon has recreated the CodingGame.com’s Spring Challenge 2020 PacMan game in p5.js to be able to work on the AI versions after the spring challenge has finished. Link to Simon’s … Continue reading Spring Challenge 2020 PacMan in p5.js

Science on the Balcony: Position of a Pendulum

Simon: “The direct formula for the position of a pendulum is not what you might think”. Simon’s code for spring and graph: https://editor.p5js.org/simontiger/sketches/mWp6gQLxz Simon’s code for pendulum with directed fields: … Continue reading Science on the Balcony: Position of a Pendulum

Autonomous Google Bee Game

Inspired by the Google Bee Game published on Earth Day 2020, Simon created his own autonomous bee game, “a combination of a cellular automaton and a Turing machine”. Simon’s code: … Continue reading Autonomous Google Bee Game

Sound Wave Simulation

Simon created a string simulation or a simulation of a traveling wave, something he used to experiment with using a slinky. Pressing the F key flattens the wave, the T … Continue reading Sound Wave Simulation

Corona Math

On March 17, Simon started a series of math and coding projects about COVID-19. The first projects he called Corona Math: Why Social Isolation?  This is part I of my … Continue reading Corona Math

How Many Dice Rolls Until You Get a Repeat. A Probability Experiment in p5.js

How many times, on average, do you have to roll a dice until you get a repeated value? I saw this probability challenge on the Mind Your Decisions channel. I … Continue reading How Many Dice Rolls Until You Get a Repeat. A Probability Experiment in p5.js

Approximating pi and e with Randomness

This has been one of Simon’s most ambitious (successful) projects so far and a beautiful grand finale of 2019, also marking his channel reaching 1K subscribers. The project – approximating … Continue reading Approximating pi and e with Randomness

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

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 Community Contribution: Variation of 2D Casting Coding Challenge in p5.js

This is Simon’s version of Daniel Shiffman’s 2D Casting code, made on Wednesday last week right after the live session. Link to the live session including the coding challenge. Code … Continue reading Simon’s Community Contribution: Variation of 2D Casting Coding Challenge in p5.js