Sketches
In my free time, I enjoy creative coding and making generative art. I normally like to explore some combination of math/science viz and/or an audio/visual exploration. Almost everything here is made using python mode for Processing. I document some posts here, and an up-to-date collection can be found on my Instagram! (This page may take a bit to load :)
After seeing a gif on Twitter visualizing the constuction of Lissajous curves, I was interested to see what Lissajous-ish curves generated from polygons instead of circles would look like:
![](https://freight.cargo.site/t/original/i/59f00740f34090d20b486e3eb58c5b430298b1bab45f4c6de60e41f2d07272de/lissajouspolygons.gif)
A visualization of heliocentric (Sun at center of the solar system) vs. geocentric (Earth at Center) orbits. Inspired by a weekend trip to the Planetarium :)
![](https://freight.cargo.site/t/original/i/f0475b059b02f9481c847ce5a218b434038805ee3ca543233f2582f763aeef5d/heliocentrismgeocentrismbetter.gif)
A collage of double-pendulums:
![](https://freight.cargo.site/t/original/i/44a1a1d9b092289071017894cc0721639496b517ae7ee2f27cea4c485581b77c/doube_pendulum_party_long.gif)
I like making looping gifs.
![](https://freight.cargo.site/t/original/i/a876264f620560bd164b4bfe0a2ef905e0518deb78b0b56ef52078c5dc9ee8db/wavelines_daverecreate.gif)
![](https://freight.cargo.site/t/original/i/4395e33967b95f51d8a562ef22aa7da115d1ed87490076563693cbfd26c87322/animation.gif)
![](https://freight.cargo.site/t/original/i/a067d50207a8b548ba7d0f9ef2924365be3327c65e17d1ccbfd8d8cc1b049b39/cardiod_circles.gif)
Fourier series are fun:
![](https://freight.cargo.site/t/original/i/793c0ecb647e7a214afc2b0b62a0e1c480ba71a078abc8146299d89a81b2c6ba/fourier.gif)
While moving at a constant angular speed, the following visualizations accelerate around corners, resulting in curved rather than straight lines:
![](https://freight.cargo.site/t/original/i/df5c9e2170bc1145309a84b4fc2a0356c246ff388d6b128033d3a909a60e7976/fourier_tri.gif)
![](https://freight.cargo.site/t/original/i/7c6b5855f1f90c5dba9f309a86d318945123dfb6e9d43ddcaa7b6331eaaaea2c/fourier_quad.gif)
![](https://freight.cargo.site/t/original/i/d4d0715cf52a2a2739104750d1bb6d4dbf530c92c28fcd19f6e24baac25c8ad2/fourier_pent.gif)
![](https://freight.cargo.site/t/original/i/ab654d49c4d1e11fb061e4ceb70b9ccff269b4a04359e1a5c725660d1a173b28/fourier_hex.gif)
Single Rotation Rule Cellular Automoton, based off a great blog post by Dmitry Shintyakov. If a tile contains only one active cell, it is rotated clockwise 90 degrees. The tiles are then shifted by 1 cell each time step. The first animation shows a random collection of initial cells, the second has 2 pairs of cells revolving around a wall, and the third a selection of ‘oscillators’ that return back to their original state.
![](https://freight.cargo.site/t/original/i/23958fe703eabbc52a5fcce1244d06c2e75b4f6ce4e8ba4f3848596e2152cdb0/singlerotCA.gif)
![](https://freight.cargo.site/t/original/i/8613ce547a44a5c06cab76e647e9a4af292d1de9eeb35784e1749e1007e5da64/singlerotCA_wallLoop.gif)
![](https://freight.cargo.site/t/original/i/202b185af22f58caaffb40f5caf5052042b401e37b413c77b873cd924f94dd39/singlerotCA_oscillator.gif)
Generative circuit diagrams, created using python and drawn using the circuitikz package for LaTex.
![](https://freight.cargo.site/t/original/i/b361b9a09823ddb69cec859d31aa74cb8f3526a83e07279c36fa1c5369cbf21d/Screen-Shot-2018-11-14-at-10.43.59-PM.png)
![](https://freight.cargo.site/t/original/i/77988739af5d537c859b83db0911a13207f24ec3f63228bc32a50f74fbb7b7ff/Screen-Shot-2018-11-14-at-11.01.45-PM.png)