Closed derwinmcgeary closed 7 years ago
OK, that's a basic class written. At the moment it still outputs too many numbers for eyeball-debugging purposes (it's tricky to write tests for chaotic attractors - the system is too finely balanced). We probably want a function to output the number of steps before going overboard rather than a simple true/false - that means we can do the fancy colour stuff based on the number.
Basically some way of taking a point (or) pixel and deciding how to colour it/whether it is in the set. We probably want to define it in such a way so that it can take arbitrary constants.