The Snowball Throwing Game in Processing

Simon invented this fun game in Processing after he and his little sister had some proper winter fun outdoors in the fresh December snow (quite rare for the local climate and thus immensely cherished by the little people). The game is about throwing  snowballs in such a trajectory that they stick to one another, forming a super-snowball. After I finished filming this, the two snowball throwers had such a great time with the game that I dare say the giggling effect from of this 2D simulation overshadowed the real snowball fight that had originally inspired it. They did love playing in the real snow on the next day though, until it melted away.

 

This slideshow requires JavaScript.

Advertisements

Simon’s Live Streams (Speechjs and Supershape Morphing)

Simon’s second Live Stream today (in two parts, see the archived versions below) was a big success! He fixed the bug in his own Speechjs library (for speech recognition and speech synthesis), demonstrated it in action and (in the second part) created some awesome looking supershapes by morphing one supershape into another.

Please, vote for Simon’s speech recognition library on Strawpoll: https://strawpoll.com/e55esk3h

Just another day in graphs

Simon loves looking at things geometrically. Even when solving word problems, he tends to see them as a graph. And naturally, since he started doing more math related to machine learning, graphs have occupied an even larger portion of his brain! Below are his notes in Microsoft Paint today (from memory):

Slope of Line:

Slope of Line 15 November 2017

Steepness of Curve:

Steepness of Curve 15 November 2017

An awesome calculator Simon discovered online at desmos.com/calculator that allows you to make mobile and static graphs:

Desmos.com Polynomial 15 Nov 2017

Desmos.com Polynomial 15 Nov 2017 1

Yesterday’s notes on the chi function (something he learned through 3Blue1Brown‘s videos on Taylor polynomials):

DSC_2858

Simon following The Math of Intelligence course by Siraj Raval:

DSC_2843

DSC_2840

Sphere Morphing in Processing

Simon is trying to write a program for Sphere Morphing in Processing, first making a test code in p5.js (available here: https://alpha.editor.p5js.org/simontiger/sketches/S1zcwevkz)

In the video below, Simon is explaining the challenge using Magformers triangles:

 

Unfortunately, the test code doesn’t quite work yet: Simon is getting three infinite triangles around the circle.

Magformers Pythagoras set

Simon pulled out his old Magformers Pythagoras set and this time around, he really nailed all the tasks independently. The set offers a variety of puzzles to “prove” the Pythagorean theorem and apply it to other shapes (even 3D!), as well as teaches several more tricks (such as the ratios between the areas of similar triangles or the areas of parallelograms).

dsc_2040388899318.jpg

Chinese square Proof:

dsc_20481571486190.jpg

dsc_2051927828638.jpg

Area of Parallelograms:

dsc_20541926246679.jpg

dsc_20521360054958.jpg

Applying Pythagorean theorem to other shapes:

dsc_2043900843144.jpg

Extended theorem by the Greek mathematician Pappus:

dsc_20502120717258.jpg

dsc_20491455294093.jpg

Areas of Similar Triangles:

dsc_20561750730228.jpg

dsc_2055530778092.jpg

More of Pythagorean theorem with various shapes:

dsc_2044717909933.jpg

dsc_2046825305280.jpg

dsc_2047946430086.jpg

dsc_2042172543324.jpg

dsc_2045353646649.jpg

Puzzles:

dsc_2062565567867.jpg

dsc_2064278481395.jpg

dsc_20691197824981.jpg

 

Simon contributed his own cloud for the Processing Community Day

Schermafbeelding 2017-10-06 om 18.39.37

In the video below, Simon is showing the cloud design he contributed to the community project collecting cloud designs for the Processing Community Day coming up on October 21, 2017. You can play with Simon’s design on the community project webpage created by Coding Train at https://codingtrain.github.io/CommunityClouds/

Simon’s cloud is called “Round Cloud”. Once you open it on the Coding Train Community Clouds page, the cloud changes its shape every time you click on it.

Where are my compasses?

 

There’s been a lot of drawing going on here lately. And jokes, like in the video above. Yesterday, after he got distracted while trying to draw the exact tangent of a circle, Simon said: “I went off on another tangent. To find a tangent!”

DSC_1902

DSC_1901

DSC_1898

DSC_1890

DSC_1889

 

The Magformers saga continued

Oops, the Magformers are back in our life. I thought that Simon was over Magformers (which he built with excessively when he was six), but he has picked them up again and taken them to a new level. He seems to be using Magformers to illustrate his increasingly philosophical thoughts in the pauses he takes between lessons and programming. Yesterday, he was quite disturbed after building with the mirror piece for a while and said: “What if two mirrors reflect each other? Would that stop time?” He added: “Just for safety, I’m going to put the mirror in the box. Never, never ever put two mirrors opposite to each other!”

And there is more! Magformers the company has actually contacted Simon on his YouTube channel, saying they loved his Magformers Table program he made in JavaScript and wanted Simon to send them an e-mail and to talk to him about it! Simon put his code on GitHub and shared it, you can view his Magformers Table online here:

https://simon-tiger.github.io/magtables/magtable/

He hasn’t made it interactive yet though. This was the original plan but he got stuck.

DSC_1823

Simon’s Superellipse tutorial on Thimble

Superellipse in Thimble 8 Sep 2017 4

Simon has created a beautiful little website with a tutorial (that he wrote completely on his own, from scratch) on how to build a superellipse in JavaScript.

Here is the  link: https://thimbleprojects.org/simontiger/315031/

(it’s on this new thimble.mozilla.org online code editor)

What specially delights me about Simon’s works lately is the subtle sense of humour he writes with (probably acquired through both watching Daniel Shiffman’s videos and reading Murderous Math books):

Superellipse in Thimble 8 Sep 2017 2

Superellipse in Thimble 8 Sep 2017

The project isn’t finished yet as the example Simon is linking to the website is only for an ellipse and a superellipse yet:

Superellipse in Thimble 8 Sep 2017 3

Simon also plans to add other shapes to the website later.