Added tooltips which took a lot longer than i expected, but it works!
Sadly couldnt figure out how to hide the mouse without it flickering so i compensated by just putting 2 spaces in front of the actual text
Log in to leave a comment
Added tooltips which took a lot longer than i expected, but it works!
Sadly couldnt figure out how to hide the mouse without it flickering so i compensated by just putting 2 spaces in front of the actual text
Log in to leave a comment
Made a few presets for some rules.
Added default preset, for the original simulation, which always gives the same results no matter what diraction
Added symmetry preset, that shows a symmetrical image that also loops infinitely
Added random preset, which chooses a random amount of ants, and a random amount of colours, all with random rules.
I neglected showing the seed and really regret it, as it just made this beautiful pattern that i will never see again, but it’s alright :’)
Log in to leave a comment
Fixed some issues in the website, and then into more, and before i knew it, i used 90% of my credits :(
The c version is fixed though so at the very least something good happened, though the website will not be updated until the project is like 90% done (or once february 9 hits and my credits refresh!)
Anyways here’s a cool symmetrical pattern the ants made
Log in to leave a comment
Made it a website! Its not perfect as i just used emsdk and it looks a bit odd but i will get to that in the future, just happy it works in the first place!!
Try it out here https://app.netlify.com/projects/langtons-ant-sim/overview
Log in to leave a comment
Optimised the control panel a little bit by reducing the overhead of converting from string to integer, made the ants and colours have random values so there wouldnt be much need to edit too much if one just wants to play around with it
Log in to leave a comment
Finally made it display colours right! Also took advantage of nk_propertyi to add little arrows and remove the overhead of converting from string to integer. Win win!
Log in to leave a comment
Fixed up the random colours being messed up!
Can’t explain why and how to fix it, but hey it works :)
Time to add random direction
Log in to leave a comment
Used nuklear to make a nice control panel. Simulation works like a charm, though there ar still some bugs with the previewed colours and some other things that can be added eg pausing,continuing and speeding up the simulation, though I am very proud of this so far!
Log in to leave a comment
I’m working on my first project! This is so exciting. I can’t wait to share more updates as I build.
Log in to leave a comment