AVOIDANCE

Concluded:

A mouse-only browser game exploring cursor-based interaction with P5.js.

AVOIDANCE game title screen

Overview

AVOIDANCE is a minimalist browser game that started as an experiment in P5.js data visualization and evolved into a full game once I realized the potential of cursor position-based logic.

The Experiment

I’ve had exposure to Processing in the past (upon which P5.js is based), and found the API relatively straightforward. It reminds me of the CreateJS suite, which I’ve used in other games.

The goal was to explore P5.js for interactive visualization - my notebooks are full of half-baked interactive music visualizer ideas. Making this game was a great introduction to the library’s capabilities and quirks.

Design Philosophy

The game is an ode to procrastination by nature of avoiding that which pursues you, and an exercise in meta-procrastination by the fact that I spent days working on this instead of attending to my actual workload.

The mouse-only mechanic was a deliberate constraint that led to creative solutions - including some hidden easter eggs that are tricky to trigger with just cursor movement.

Tech Stack

TechnologyPurpose
P5.jsGame engine and rendering
JavaScriptGame logic
GitHub PagesHosting

Subscribe

Get notified when I publish something new, and unsubscribe at any time.

Latest writing

Read all posts
Homebridge as Rosetta Stone

September 08, 2024

Homebridge as Rosetta Stone

Exploring how Homebridge plugins can help connect proprietary home automation systems to each other

Learning AutoHotkey the Hard Way

September 01, 2022

Learning AutoHotkey the Hard Way

An adventure in learning debugging tools instead of reading documentation