Simon shows the Cannon game he created in Processing (Java). He says he was inspired by the Stackoverflow forum, where he saw an example of the game and later wrote the code for a similar game himself. I saw him quickly write the code in a matter of perhaps two hours. Simon will post his code on GitHub once he has added a couple extra features.
We continue reading the Russian adventurous math books by Vladimir Levshin (1904-1984) – see an older post about it – and Simon is often excited about the challenges discussed. This time however, he first thought that something was impossible (and the Russian book said that, too), but our amazing favourite Murderous Math thought otherwise! It was one of the three oldest “unresolved” problems in the world, about how to double a cube (and let it remain a cube), which basically boils down to “how to draw the cube root of 2”:
Some more unrelated notes that Simon made recently, while listening to the Russian adventurous math book:
In for a shower? Simon made a beautiful Cloud Simulation in Processing (Java). He wrote this code himself. This is the final version of the project:
The whole project is on GitHub, you can download it at: https://github.com/simon-tiger/rain
The videos below show Simon creating the cloud simulation step by step:
Simon’s creative “remix” of example 2.7 from Daniel Shiffman’s The Nature of Code, Chapter 2 (Forces).
Digisnacks, an electronica course at Artesis Plantijn Hogeschool Antwerpen, has started again. This time it’s Lego Mindstorms 2. Simon didn’t follow the Lego Mindstorms 1 course but studied how the set works via a couple of YouTube tutorials. It’s a course for 10-14 olds 😉
Simon has nearly completed the basic equations and inequalities course on Khan Academy.
Every time his math teacher comes they solve a couple of inequalities from the course and what happens next is that Simon goes over to his desktop to check his answers in the “Inequalities machine” he programmed! He often has to change the program to fit a new inequality format, so it takes some time. Luckily the math teacher understands how awesome this is. I also think it’s the first time Simon has really programmed something for practical use!
This is how Simon solves the inequalities, by typing them:
Testing the answer in the “Inequalities Machine”:
The original “Inequalities Machine” Simon programmed back in February:
Simon programmed this beautiful rainbow all by himself in Processing (Java). He went to http://clrs.cc/ (also a http://mrmrs.io/ project) to look for the hexadecimals and then used http://html-color-codes.info/ to translate the hexadecimals into RGB codes.
Explaining how it works to sis:
Simon is a big fan of w3schools.com and has been using their w3.js library for these exercises. In the first video he shows a sort table he made. By pressing the arrows the places listed are put in alphabetical order. he borrowed the text from w3schools and drew the arrows and the background himself in Microsoft Paint.
He also buit a search engine:
A sort list. Before the “Sort” button is pressed:
After the button is pressed:
Adding colour to id:
Hiding and showing elements:
Simon’s “painting” in Processing that he named Output.png, resembling a painting by the Dutch writer and artist Jan Wolkers.
We made a talking poster with Bare Conductive paint and touch board today:
The poster on the wall next to Simon’s room:
This is how we made it. We taped a stencil to a large sheet of white paper and applied the conductive paint, then waited for the paint to dry.
While waiting, we loaded several mp3 files on to the MicroSD card that came with the touch board. Simon made sure the files were named in the right order, to correspond to the correct electrodes on the touch board. We found the sound files at FreeSound.org:
Simon placed the MiscroSD back into the touch board:
We carefully removed the stencil, this was the result:
We attached the touch board and the speaker to the poster, then cold soldered the holes in the electrodes with conductive paint.
Let it dry and turn the power on!