Ant algorithm
UPDATE: You can now hold down [Left mouse button] to spawn ants at the cursor location
Rules:
-if pixel is black: move forward, then turn right
-if pixel is white: move forward, then turn left
-always swap color of current pixel
Raycaster level editor
Demo I made of a very simple level editor for a 3D ray caster game.
CONTROLS:
In map editor:
Arrows - move cursor
Hold X + left/right arrows - pick tile
Hold C + move cursor - paint tiles
Once PLAYER tiles is selected, press C while holding X to spawn player on map
In first person mode:
Left/right arrows - look left right
Up/down arrows - move forwards/backwards
I originally started making this as a custom level maker for a first person shooter like DOOM or Wolfenstein 3D but I had to move on to other projects.