Month: June 2019
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
Teaching Mathematical Fundamentals
Simon loves challenging other people with math problems. Most often it’s his younger sister Neva who gets served a new portion of colourful riddles, but guests visiting our home also … Continue reading Teaching Mathematical Fundamentals
A Square Triangle?
Simon explains what Gaussian formula is to check a shape’s curvature and shows how to make a triangle with three 90° angles. Or is it a square, since it’s a … Continue reading A Square Triangle?
Trinagular birthday probabilities
“What is the chance that two people in a group of, say, 30 people would have their birthday on the same day?” I asked Simon as we were sitting on … Continue reading Trinagular birthday probabilities
Simon’s Fibonacci Music Pesano Periods
Simon writes: I have composed a piece of music based on the Fibonacci sequence, using modular arithmetic (I assigned numbers from 0-6, the remainders after ÷ by 7, to notes … Continue reading Simon’s Fibonacci Music Pesano Periods
Drawing with Turtle
Here we are, on the day of my 40th birthday, while recording a lesson of drawing with turtle in Python. It was meant to be my birthday present, a beginner-friendly … Continue reading Drawing with Turtle
Cat and Mouse
This is a project that Simon started a few weeks ago but never finished, so I think it’s time I archive it here. It’s based upon this wonderful Numberphile video, … Continue reading Cat and Mouse
Chaos Game and the Serpinski Triangle
Monday morning Simon showed me the Chaos Game: he created three random dots on a sheet of paper (the corners of a triangle) and was throwing dice to determine where … Continue reading Chaos Game and the Serpinski Triangle
Why mathematics may become computer science
Walking home from the swimming pool (where he and Neva had been jumping into the water exactly 24 times, calling out all the permutations of 1,2,3 and 4), Simon suddenly … Continue reading Why mathematics may become computer science