Skip to main content

Projects

These are some things I have made. I've listed them mainly because I enjoyed building them and remember fondly. Most of these are hobby projects.

मनसा

मनसा is a Nepali programming language. I wrote the compiler and and the tooling around it, eventually making a rudimentary IDE in Electron.js, and even writing some glue logic to have it be uploadable to Arduino. We felt that मनसा could be an excellent educational tool to teach students programming through electronics.

The first version directly generated machine code from the syntax tree, treating the processor as a stack machine. To add language features faster, I rewrote the code generator to output C++ instead, ending up with a transpiler.

I made मनसा in college, originally intended to be submitted as the minor project. It started as a team project envisioned by me and my friends: Sammelan, Sangam, and Sauhard

Read detailed write-up

Octopus Game

This ambitious covid-time project originally started as a one day game development challenge. That didn't amount to much, but it gave me an idea about an underwater exploration game you play as an octopus.

As I was writing the game from scratch on HTML5 Canvas, I ended up creating several abstractions that would work for any game: Camera, Particles, SpriteSheets, Collision Detection, UI components etc. Eventually I decided that I could package it as a game engine and make many games with it.

Play here

Read detailed write-up

Flappy Millennial

Flappy Millennial is a flappy bird clone I wrote over the javascript game engine I was writing at the time for Octopus Game. It was a quick project, with most of the time being taken by configuring the build system and doing the Pixel Art. I also experimented with Azure functions and writing javascript build system from scratch.

Play here

Read detailed write-up

Dot Matrix Display

The WRC Robotics club was looking to repurpose some Dot-Matrix displays they had to post an animated display over their entrance. I volunteered, and ended up creating my own little animation tool, on which I animated a little Wall-E like robot moving around. I also made a little circuit and wrote some firmware to be able to play the animations on the actual DMD.

Code on GitHub

Read detailed write-up

Wild Creatures

This was a project I did with Resident Agency. The goal was to make scrolling through the website feel like you were scrolling through songs of the singer Neko Case, animated in the gorgeous style of the artist Laura Plansker.

Go to site

Huffman Compression

I wrote a C++ program to compress input files using huffman compression. I was curious to see how just huffman compression would compare against far more sophisticated libraries, and predictably it performed worse, but it was an enlightening experience nonetheless.

Code on GitHub

Read detailed write-up