Stock photo of two student scientists in a lab.
Stock photo of two student scientists in a lab.
Photo by ThisisEngineering RAEng on Unsplash

The laboratory is crucial for developing scientists. The hands-on experiences spark curiosity and deepen engagement with subject, and the real-world data from experiments are a rich playground for critical thinking and analysis. As science classrooms move towards digital instruction, there is increasing demand for “virtual labs” that retain more of the value of the laboratory experience without access to equipment and materials. There are many existing simulations (PhET is my go-to for open-access physics simulations), but sometimes a favorite lab can’t be found, the simulations provide one-dimensional results, or the cost is too high.

One option is to collect…

Sand paintings mesmerize me. I love the way they slowly build by sorting the different size grains into layers and how the same, slow process builds a range of sandscapes.

I wanted to create a similar effect using pixels from an image instead of sand grains. The goal was to use pixel sorting algorithms to create a slowly evolving image, gradually converting a photograph into a sandscape.

Pixel sorting is the process of applying list sorting algorithms to the data contained in an image. A single pixel has many properties that can be quantified and sorted; the red, green…

A recursively drawn tree on a hill.
A recursively drawn tree on a hill.

Recursion is powerful tool for creating detailed, complex patterns with code. Recursion occurs when a function definition includes the use of the function itself.

Tom Pasquini

Experimenter, explorer, educator.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store