The Laboratory
View Experiments & Demos →

Working notes and small writeups.

Things I'm building and why.

Notes from building software, mostly the parts worth remembering by Jason Brown (Loktar).

The Archive

Super Simple Wave Simulators

Two wave sims I put together after going down a water-effects rabbit hole: one in JavaScript + canvas, and one that does it with just HTML/CSS. Both have embedded demos (and CodePen links) and were picked / featured on codepen.

My sons first game Dark Slayer

My sons Jacob and Gavin build their first canvas game, Dark Slayer, after following a Lost Decade Games tutorial. They added enemies that shoot, player health, and an ending, and created the art.

2d Metaballs with canvas!

I recreated the metaballs effect in JavaScript canvas using radial gradients and an alpha threshold. This post walks through the approach, includes the gists, and links a demo and JSFiddle to play with.

Turning canvas games into executables

I wrapped an HTML5 canvas game into a self-contained executable using Qt WebKit and embedded resources so the assets are not exposed. This is the quick write-up of the approach and what I wanted to test next (dependencies and performance).

JEST another HTML5 Game Framework

I cleaned up my home-grown canvas game framework and posted it on GitHub as JEST. It is a compact base I use for demos and small games, and the post links the repo plus an early demo.

HTML5 Canvas Flood Fill

I implemented a recursive flood fill for a Rampart-ish canvas prototype and broke down how it works. Includes the core function, how I call it on a 2D array, and a JSFiddle to try it (plus a quick note on stack limits for large maps).

HTML5 Canvas Particle engine

Progress on a basic canvas particle engine tied into my game framework. I share a screenshot, a demo link, and my plan to build a small editor so I can tune effects visually.

Procedural Canvas Shmup now has a boss and sounds!

A quick progress update on my procedural canvas shmup: adding music and sound made a huge difference, and I finally dropped in a boss. I also list what I wanted next, like player upgrades and more consistent seeded visuals.

Glow Roids

I am archiving Glow Roids, one of my first C# + OpenGL projects using Tao. It includes screenshots and a download, with a note that it can be finicky on different machines.

Current Project Canvas Shmup

I am working on a canvas shoot 'em up where the graphics and the level are generated from a seed. Use the same seed as someone else and you get the same run, with a link to the WIP build.

Software & Experiments Selected Works
react-lazy-load React, Lazy Load, Performance
Cat Brown Realtor Webdesign, HTML, CSS, JavaScript
Jest Game Framework Game, JavaScript
gui hacker Code Golf, JavaScript
jQuery Snowfall JavaScript
Zombiegames.net Webdesign, Performance
Jason Brown

Jason Brown (Loktar)

Christian, Grandfather, Veteran, lover of everything tech.