Zcellterm, CLI toy implementation of the Wolfram Elementary Cellular Automaton

Here’s my first project in Zig!

zcellterm_demo

It’s an implementation of the Wolfram Elementary Cellular Automaton, I got inspired to make it by this video: https://www.youtube.com/watch?v=Ggxt06qSAe4, as well as my own desire to learn Zig, almost a decade after learning C before changing career paths and becoming a systems administrator.

It has various customization features, by default it’s going to detect the terminal size, but you can also set it manually if you want, or if you’re using an unsupported platform for automatic detection, or redirecting the output into a file.

Ik it’s nothing special, but I haven’t developed anything in a long time, and it’s very rare for me to complete a project, and I learned a lot in the process, so I’m kinda proud of it.

I hope you enjoy!

6 Likes

Hey @Siph, welcome to the forum, and thanks for sharing your project! Cellular automata are awesome :slight_smile:

3 Likes

Thank you! I’ve been enthusiastic about Zig and lurking this forum for a while, I’m happy to finally have something to contribute!

2 Likes