Patterns. Hilbert Curve in Processing.

This is a project about pattern. “Some people look for patterns. We call those people mathematicians”, Matt Parker said in a Numberphile video. I think I have never heard a description that would suit Simon better. He has always been looking for patterns, everywhere – in music, in toys, in ice-cream menus, in books about space or chemistry manuals. When he was little and spent days ranking planets and stars from memory, we used to think space was his true interest. Or elementary particles. Or the periodic table. Or Japanese letters. Or Greek letters. As it turned out later, he simply picked the topics that had more pattern in them, that were easy to classify. To this day, he enjoys music theory much more than actually playing the piano, and when listening to music I see him move his hand rhythmically every time a recognisable/ repetitive pattern is distinguishable.

In the video below, Simon is trying to build a Hilbert Curve (a space filling curve, a type of fractal) in Processing. The project was inspired by the math videos by 3Blue1Brown and the Koch Snowflake example by Daniel Shiffman (Chapter 8 in his book The Nature of Code, Fractals).

Links to the Hilbert Curve videos on the 3Blue1Brown channel:
https://www.youtube.com/watch?v=3s7h2MHQtxc&t=1s
https://www.youtube.com/watch?v=RU0wScIj36o

Advertisements

15s Puzzle in Processing

Simon built this game inspired by a Numberphile video (he had never seen or played the actual puzzle before, but I have as a kid). The code is Simon’s own, here is a link to the code on GitHub: https://github.com/simon-tiger/15s_puzzle

Tetris in Processing continued

Inspired by a Meth Meth Method Tetris video, Simon has come back to his Tetris project in Processing, something he started a long while ago and never finished. At the moment, the primary difficulty he experiences is having the pieces accumulate at the bottom of the grid and not vanish immediately once hit by other pieces. Work in progress.

Simon a Processing member!

Simon has become a Processing Foundation member! We love Processing! Anyone is welcome to join, just go to Processing.org to support this wonderful open source platform – what better way to celebrate this season than donate for a more enlighten future? We can rightfully say that Processing has played a huge role in Simon’s development as a young programmer so far and he definitely hopes to become an even more active member in the years to come.

Schermafbeelding 2017-12-21 om 17.52.24

Cannon Game in Processing

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.

Processing on RaspberryPi

Simon installed Processing on his RaspberryPi recently (using the terminal, which looked terribly sophisticated and scary as on Linux you’re forced to do everything through the terminal) and started preparing examples that he hoped to show during his own livestreams, but the RaspberryPi seems to have crashed, unable to bear the weight of so many examples…

dsc_19091456268463.jpgdsc_1908267889140.jpg

Computer Vision Projects in Java (Processing)

Among other projects during the vacation were also computer vision projects: color sensor, color tracker, motion sensor and motion/ face detection in Java (in Processing), partially Simon’s own code: