Shipped this project!
Ok, so I learnt a new language (C++) and coded the first (Very interesting) wonder called The Chaos Game.
In future ships, I will:
- Polish Chaos Game, and add the option to change ‘r’
- Add more wonders
Ok, so I learnt a new language (C++) and coded the first (Very interesting) wonder called The Chaos Game.
In future ships, I will:
I converted the whole code to Webview using emscripten, and got a bunch of errors but finally figured it out and hosted the code on a website using Github Pages.
A few final tweak remain but otherwise I am ready to ship the first game in this library. I might actually host this on my personal blog, which is work-in-progress for now.
Log in to leave a comment
Not much to update, just tried to re-adjust file structure and it was literally brutal, errors after errors and now I have managed to get it working again…
I will now try to compile it to web (Which I tried a bit before, was a headache but yeah)
Log in to leave a comment
So I completely broke it, wanted to change some logic to add ‘sliders’, so had to change an array to a vector and even after changing all logic, it just kept breaking, after working an hour or two I got it working and then added a button and GUI.
(Should’ve made git commits, but I haven’t properly set up the repo for git, since it’s C++ and I coded my first line of C++ like 2 days ago)
Log in to leave a comment
Um… I can’t edit it now, please just mute it and watch, I didn’t realize the audio was on, my family was talking in the background.
Ok so I finally got the first simulation working:
The Chaos Game! Here are the rules:
Using so many randoms, one would’ve guessed that it was a messy pattern but that’s not what happens in the simulation!
Now I will work on adding GUI, ability to change other parameters etc.
(Keep in mind I have NEVER coded in C++ before and this is my first time EVER)
Log in to leave a comment
Have to do a COMPLETE restart.
This was originally “Interactive Mathematics In Python” but because I was using streamlit with matplotlib, it just wasn’t efficient, I kept running into errors and gave up midway.
I am now using C++ to code, and would not be making a web app. All the best to me.
Screenshot is just the ‘home’ page in streamlit, when it was written in Python, I have scraped it now.
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