Thanks, you have some great content on your channel.
I’ve also managed to write Shiffman’s chaos game in GHPython. It’s of course inspired by your version.
What’s different in mine, is that there is no external counter, but a built-in one (thanks to @AndersDeleuran).
Furthermore, the class is saved in a sticky dictionary and then reloaded and updated, when the component refreshes. I also just output the initial start points, as well as a tree of new points in three branches. Each branch represents the points belonging to one of three start points. Colours are managed on the grasshopper canvas.
So far, I’ve run it up to 15 000 points with no issues or crashes. It just takes a little time.
You and everybody else, who’s interested, is welcome to check it out below.
(I’ll probably update it in the coming days with a few other features and re-share it. No promises, though.)
chaos_game_v1.0.gh (14.0 KB)