Mandelbrot Set, Enhanced.
Hello all! I have been working on fixing up my old Mandelbrot Set code over the past few days. I will not list everything I changed (and that is definitely not because I forgot all that I did!), but if you are interested, you can feel free to look at the old code (which I have linked below) and compare it with the new code. Essentially, the major things that I changed help to improve scaling of the resolution, and improve color-picking accuracy. It takes quite a long while to finish rendering, so here's a finished product:
Hope you enjoy this revamp, and any feedback you might have would be greatly appreciated. Thank you!
The old code is here: https://repl.it/@LizFoster/The-Mandelbrot-Set#main.py
@Codemonkey51 I think that would be very cool, though you would need to make it so the user provides the new Pokemon's stats, sprite, and all the values surrounding it. Could be a cool little Easter Egg, but might be a bit complicated for a user who doesn't want to go through the trouble of all that..
@DynamicSquid It is on a bit of a standstill at the moment. I need to do some research to find faster ways of rendering objects on the screen, since I am not sure how to get multiple turtles to run simultaneously in the Python with Turtle option. I could probably get something put together for that in the Python IDLE program, but the Python with Turtle on repl.it lacks some modules, several of which might be necessary..
@DynamicSquid I have yet to try PyGame. In truth, I have been stubbornly hoping to find a way to do it using Turtle exclusively, since I quite like Turtle.. It probably would not even look good if I could actually find a way to pull it off, ha ha!
I will look into PyGame at some point, I just have not gotten to it.
@AmazingMech2418 Okay, this seems simple enough:
keys = pygame.key.get_pressed() if keys[x]: do y if keys[a]: do b
I am not sure if this is exactly what you're looking for, but here is where I found this:
Does that work for the project?
@LizFoster Thank you! And nice! :D And it's fine! I honestly just looked it all up right then and there. LOL! But I did get it all working! https://repl.it/@AmazingMech2418/Learning-PyGame#main.py :D
@LizFoster Okay. :D (Okay. Usually, "passed out" refers to something during the daytime where something medical (usually respiratory or circulatory) causes you to lose consciousness, so I was kind of worried something was wrong. It's good that you're okay though! And that is much better than actually passing out!)