Projects
L-systems
created : 04/06/2021
last modified : 01/10/2025

My implementation of Lindenmayer systems (l-systems) in js. Its a way to generate plant-like recursive structure. I really like l-systems and I think they are facinating both as a concept and visually. I'm currently adding features to this first implementation, to give more control on the looks and add drawing variants.

Try it
Langton Ant In the shell
created : 10/06/2023
last modified : 21/06/2023

A Langton ant basic implementation in c, using ANSII escape sequences. Made in a few hours, only tested on Ubuntu. Its meant for the ant to cover the content of the terminal.

Speed is adjustable by pressing z to go slower and s to go faster. When the ant reaches a border, it pops out of the over side of the screen.

Preview of how it looks like:

pattern created by a langton ant in a terminal window

If your terminal is too small, the classic pettern will not apear, because the ant disturbs the original pattern by going out of the screen and comming back on the other side.

Git repos
Portal 1 ending in the shell
created : 03/02/2022
last modified : 05/11/2022

A recreation of the portal 1 ending in the terminal. I could not find a proper version meant to be used in POSIX terminals so I made one.

It should work on all UNIX, BSD and Windows, although I still need to do some testing.

Preview:

portal ending interface in a terminal window

Speed is adjusted for testing line 473 in .c file, change the constant to 1 to have it synced with the song.

I still need to add the song, finding a portable way to play music in c is not super easy.

Git repos