Projects

Things I've built, in and out of class. Most of the code is on GitHub.

Machine Learning

Natural images above their reconstructions decoded from fMRI activity in early visual cortex

Decoding and Identifying Natural Images from fMRI

Python | scikit-learn | NumPy

Two ways to read images out of visual cortex, using the Kay et al. (2008) dataset. Ridge regression from brain activity straight to pixels recovers little more than where a scene is bright. A Gabor encoding model that predicts the brain's response to each candidate image picks the right one out of 120 in 78% of cases, close to the original paper. Both approaches find the information concentrated in V1 and V2.

Hockey

The Hockey Career Simulator's career screen

Hockey Career Simulator

JavaScript | no framework | runs entirely in the browser

Create a player at 16 and play out a whole career: junior hockey, the draft, game-by-game NHL seasons, contracts, injuries, international tournaments and, if it goes well, the Hall of Fame.

NHL standings recalculated under a 3-2-1-0 points system

NHL Standings, 3-2-1-0

JavaScript | Google Apps Script

The current NHL standings recalculated with three points for a regulation win, and how each team would move compared with the real 2-2-1-0 table. A scheduled Apps Script job keeps the data current.

Maps and Data Visualization

Map of deer-vehicle collision density on Montana roads

Deer-Vehicle Collisions and River Corridors in Montana

Python | GeoPandas | QGIS

Collision density along every road in Montana from carcass-removal records (2016–2025), compared with distance to rivers and riparian habitat. On highways, the worst stretches sit far closer to water than the rest.

Map of US tornadoes, 1950-2021

US Tornadoes, 1950–2021

JavaScript | D3 | Observable

Every recorded US tornado from 1950–2021 on one interactive map, filterable by period, with deaths, injuries and counts by strength. The count has risen sharply, but mostly in weak EF0 tornadoes that better detection now catches, and the 2007 switch to the Enhanced Fujita scale muddies any trend in strength.

Map of global cyclone frequency and mortality

Global Cyclone Frequency and Mortality

JavaScript | D3 | Observable | GeoTIFF

Global cyclone frequency and cyclone mortality risk, mapped side by side from SEDAC rasters. The two don't line up: Japan is hit as often as anywhere but has low mortality, while eastern India and Haiti are hit less often but lose far more lives, a gap that tracks human development.

Network of character interactions in Star Wars Episode I

Star Wars Episode I, as a Network

JavaScript | D3 | Observable

A force-directed network of which characters in The Phantom Menace speak in the same scenes, with hover highlighting, tooltips and a colorblind-friendly palette that switches between character and species. Colored by species, the film still runs on humans; Jar Jar and R2-D2 are the only big exceptions.

Map of Capital Bikeshare usage in Washington, D.C.

Capital Bikeshare, June 2024

JavaScript | Leaflet | Observable

Capital Bikeshare rides across the D.C. area in June 2024, drawn from start to end station, colored by ride length and filterable by time of day. Weekday mornings show commuters flowing from residential areas into business districts; midday and weekends shift to long rides around the National Mall.

Simulation

Two electrons tracing braiding orbits around a helium nucleus

The Classical Helium Atom in Two Dimensions

Python | NumPy | Matplotlib

A nucleus and two electrons, integrated with an adaptive Runge-Kutta 4(5) solver I wrote from scratch. Some starting conditions give braiding orbits that stay bound; changing one velocity by 0.01 sends an electron out of the atom. Plotting how long that takes against starting velocity shows the same spiky pattern at every zoom level, a signature of chaos.

Web Apps

SoundClouded's home page

SoundClouded

Web app | Spotify

Spotify recommendations based on the weather where you are right now.