My name is Varun Mangalick, and I’m a software engineer at Reverie Labs. This is where I keep notes on a variety of hobbies and projects that I’ve spent time on. See a selection of featured posts below or explore categorically by clicking the links in the header.

Virtual Aquarium
→ Try it here ← This virtual aquarium is meant to simulate various aspects of my real aquarium I kept for a few years. My intention was to encode logic with relatively simple rules that with enough nesting would create realistic behavior and emergent complexity. As examples: Fish show loose shoaling behavior where if not actively foraging, they tend to follow the group, especially when individuals move quickly Overfeeding the aquarium causes snail populations to explode. Stopping overfeeding causes many of the snails to eventually die off, with empty shells gathering in the corners of the tank. See below for a more detailed system design and a description of future possible features. ...




