Colin McLaren

Tinkering & Experiments

Here is where I share some of my personal projects and experiments—things I've built or explored out of curiosity and a desire to learn. From DIY electronics to software experiments, these projects reflect my passion for tinkering and innovation. At the moment, I am particularly interesed in the world of AI and many of the items here were generated or assisted by various AI tools - I do ensure that human touch is added to the projects.

Tetris Game

Tetris game screenshot

This game was built using claude code to produce the game in about 2 hours of coding, Music was generated using Suno. It just shows how far we have come with LLMs

Use the following keys:

A = Left, D = Right, W = Rotate, S = Down, SPACE = Hard Drop, M = Turn Music on/off, R = Restart

4D Viewer Object Viewer

4D Viewer screenshot

This project is a 4D viewer built using Three.js, allowing users to explore four-dimensional objects and their projections in three-dimensional space. It was created as a fun experiment to visualize higher-dimensional geometry.

The viewer models different 4D shapes in various views such as othographic projections. You can zoom in and out and change the shading of faces - Give it a try!

4D Time Slicer

4D Time Slicer screenshot

This interactive Three.js experiment explores four-dimensional geometry by treating the w axis as time. As you move through the timeline, the app renders the 3D slice that exists at that moment, turning abstract 4D objects into something you can inspect and manipulate.

You can switch between shapes like a hypersphere, tesseract, spherinder, Clifford torus tube, and a quartic supercell, then animate the slice, adjust resolution, and apply a 4D twist before viewing the result in 3D space.