This is your work, valued
I make interactive visual explanations of math and algorithms, using motivating examples from computer games. I work both with educators and game developers.
mapgen4. Mapgen4 procedural wilderness map generator
851mapgen2. JavaScript version of mapgen2 polygon map generator algorithms
4431843-planet-generation. One week experiment: learn how to procedurally generate maps on a sphere. Code is messy but it runs.
162helloworld-sdl2-opengl-emscripten. Basic program that uses SDL2+OpenGL, compiling both locally and via emscripten
89dual-mesh. V2 of dual polygon-triangle mesh code used in redblobgames's projects from 2017 to 2022. V3 (not here) used from 2023 onwards.
66making-of-line-drawing. How I make an interactive tutorial using d3.js
41circular-obstacle-pathfinding. Pathfinding around a set of circular obstacles
41cpp-traverse. C++ Serialization library focusing on extensibility, both of input/output formats and of data types
182014-starter-page. If you want to write tutorials with interactive diagrams like mine, here's some code to get you started. I have vanilla, lit-html, Vue, React, Svelte, and Preact+HTM versions of a simple interactive diagram.
172025-roguelikedev. Each summer people on r/roguelikedev create a roguelike game, following a tutorial. I followed the tutorial in 2020 and made this.
152126-roguelikedev. 2021 Reddit r/roguelikedev summer tutorial series
12making-of-draggable. How I handle mouse and touch events to drag objects around on my pages
12making-of-circle-drawing. How I make an interactive tutorial using vue v2
122327-roguelikedev. 2023 Summer r/roguelikedev event
82003-rust-network-game. Simple server+client game with Rust+JS
72513-mapgen4-csharp. C# version of mapgen4 core algorithms only
6aima-javascript. Javascript visualization (and implementation) of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
62226-roguelikedev. 2022 Reddit r/roguelikedev summer tutorial series
62234-hunar-alife-simulation. Fun particle simulation
6algovis. collection of projects and links about algorithm visualization
51824-rust-roguelikedev-tutorial. Following the reddit r/roguelikedev tutorial series, using the Rust version
52421-helloworld-rotjs-tiles. Example of Rot.js with Kenney sprites
42121-triangle-grids. Quick and dirty implementation of a triangle grid diagram using BorisTheBrave's python library
42002-rust-chat-server. Learning Rust, with Mac+Linux+Wasm outputs, websockets, threads
4prng. Simple JS seeded random number generator
42543-mapgen1-hexagons. Putting together existing code (hexagons, mapgen1, mapgen2, draggable) into a map generator that lets you paint biomes
4msdfgen. Multi-channel signed distance field generator
21705-learning-redis. Miniproject to use Redis as a game simulation store
2delaunator. A really fast JavaScript library for Delaunay triangulation of 2D points
2Python-world-gen. A python worldgen project
1icons. All SVG icons available on http://game-icons.net
1