Coding, Good Reads, history, JavaScript, Milestones, Notes on everyday life, Set the beautiful mind free, Simon teaching, Simon's Own Code, Social Studies, Thoughts about the world

Simon’s remix of one of Nicky Case’s playable essays

If you’re interested in why #covid-19 tracing apps are important and the most privacy-friendly way to implement them, please read this interactive essay by Nicky Case and play with the colorful simulations of all our possible futures. For Simon, this has been the entrance into the Nicky Case @ncasenmare universe (first recommended by 3Blue1Brown). Simon has been gulping down the playable essays on human networks and the spread of complex ideas, self-synchronization in nature, the shape of society and several other burning themes (like coming out and anxiety) and watching Nicky Case’s talks, like this one. Nicky is a self-made indie artist, programmer and writer making very edgy, very 21st century multimedia products that are both profound in content and have an engaging/interactive interface. It’s as if reading an informative piece is turned into a game. And that’s exactly what Nicky stands for: learning through play and messing about. Maybe that’s why Simon has embraced his works so eagerly, Nicky has proven to be one of those perfect matches for our self-directed learning style.

Simon has made a remix of Nicky’s Evolution of Trust, an iterated prisoner’s dilemma: https://editor.p5js.org/simontiger/present/oOurTdGWT

Simon’s code: https://editor.p5js.org/simontiger/sketches/oOurTdGWT

Coding, Geometry Joys, Group, JavaScript, Milestones, Murderous Maths, Simon's sketch book

Dissecting Polygons

Every polygon can be triangulated into exactly n-2 triangles. So you’ve got the triangulation theorem and the totally opposite theorem in the math universe, Girard’s theorem (the formula for the era of a spherical triangle). I’m going to attempt to put these two together to prove Euler’s polyhedral formula (also known as Euler’s characteristic) V – E + F = 2.

A week later Simon and a friend of his from Germany worked together for several hours, writing a program to cut polygons. It’s still unfinished but is already fun to play with: https://editor.p5js.org/simontiger/sketches/YxNUp5rdJ

Coding, Community Projects, Contributing, JavaScript, Math and Computer Science Everywhere, Milestones, Murderous Maths, Notes on everyday life, Simon makes gamez, Simon's Own Code, Together with sis

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 PacMan Game version featured in the video (playable for two players on the same keyboard): https://editor.p5js.org/simontiger/present/k9PDqMeew

Simon’s code for this version: https://editor.p5js.org/simontiger/sketches/k9PDqMeew

The PacMan is built on top of a Maze Generator, here’s an example of one of Simon’s maze generators and solvers: https://editor.p5js.org/simontiger/sketches/vj75cHYkf

Simon had been taking part in the Spring Challenge 2020 for several days and reached bronze level.

However he quickly realized that the 11 days of the competition felt too cramped for him to try various algorithms and still be able to work on his other projects. So what he did was recreate the whole PacMan game from scratch in p5.js, so that he has an “archived version” of the challenge and can play with new AI versions later.

Coding, Experiments, JavaScript, Physics, Simon's Own Code

The Three-Body Problem in p5.JS Continued

Simon returned to his project on the three body problem that he was busy with in January this year. This time, he added traces to the bodies so that their trajectories become visible: https://editor.p5js.org/simontiger/sketches/VAVeN0Ceo

He also added a counter to calculate how far the third body gets ejected:

Coding, JavaScript, Murderous Maths, Physics, Simon teaching, Simon's Own Code, Simon's sketch book

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: https://editor.p5js.org/simontiger/sketches/U__pD4iZL

Simon’s code for simple movable pendulum: https://editor.p5js.org/simontiger/sketches/koPHNu670

Simon originally got inspired to work on this project thanks to the My Physics Lab platform. Also inspired by 3Blue1Brown’s video Differential equations, studying the unsolvable and Brilliant’s Calculus Fundamentals course.

Biology, Coding, Crafty, JavaScript, Milestones, Simon makes gamez, Simon teaching, Simon's Own Code, Simon's sketch book

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: https://editor.p5js.org/simontiger/sketches/QcL1_chWb

Demo mode: https://editor.p5js.org/simontiger/present/QcL1_chWb

Coding, Community Projects, Crafty, Electricity, Engineering, Experiments, JavaScript, live stream, Simon teaching, Simon's Own Code

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 key makes it a triangular wave, the Q key makes it a square wave, the S key makes it a sine wave, and the H key makes it a half-sine wave. Simon’s code of the string simulation is available at: https://editor.p5js.org/simontiger/sketches/Q-0iYdEPS

While working on the project live on Discord, Simon received a suggestion from one of the viewers to tie the wave to the microphone (to the sound wave), which he did. “It turned into a more creative project than I thought!” Check this version of the project out at: https://editor.p5js.org/simontiger/sketches/dQypxomRm

Simon also added one more wave mirroring the original one, for a “trippy” effect: https://editor.p5js.org/simontiger/sketches/KOVDEwuAQ

Biology, Coding, Contributing, Crafty, Geometry Joys, JavaScript, Laws and cultural differences, Math and Computer Science Everywhere, Math Tricks, Milestones, Murderous Maths, Notes on everyday life, Simon teaching, Simon's Own Code, Simon's sketch book, Thoughts about the world

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 Corona Math series. In this video, I calculate how many people will be infected with the coronavirus after 10 spreads (I call them iterations). I also calculate how many days there are in each iteration.

Link to another video where I explain what a polynomial is: https://youtu.be/W1faBAn6t5A

In the second video Corona Math: Where is the Inflection Point? (recorded on March 19), I attempt to calculate the “inflection point” for COVID-19, and ultimately fail. I come to the conclusion that it’s too unpredictable, and we’re now only at the very beginning. I used the Wolfram Language for this video, so here’s a link: https://www.wolframcloud.com/obj/721d493e-156b-4131-818c-e59476d1d2aa

10 days later Simon recorded another Corona Math project. In Belgium, we’re having a #Covid_19 “light #lockdown“, which means we’re allowed to walk within a 2km radius from our home. Simon calculated how many people would fit into his designated walking area, considering #SocialDistancing:

Simon’s animation for this last project is online at: https://editor.p5js.org/simontiger/present/VuXRGMLPp (Press the space bar to get to the next slide). Source code: https://editor.p5js.org/simontiger/sketches/VuXRGMLPp

Simon calculating how many people one can infect by having had contact with just three people (nearly 90 thousand)
Simon explaining to me what an inflection point is
Coding, Coding Everywhere, Experiments, JavaScript, Milestones, Murderous Maths, Simon teaching, Simon's Own Code, Simon's sketch book

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 decided to test it experimentally. First, I repeated the experiment myself in two sets of 50. Then I created a diagram in the Wolfram Language to visualize the distribution. Finally, I made a p5.js sketch to roll the dice thousands of times.

repeated the experiment in two sets of 50

Link to my code: https://editor.p5js.org/simontiger/sketches/gM0xws9D

Link to my Wolfram Notebook: https://www.wolframcloud.com/obj/620bf4df-077f-4ce8-8210-c06037f58f9b

explaining the math to dad at dinner

The math behind this project come from this Mind Your Decisions challenge video and this Mind Your Decisions solution video.