Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mandelbrot set generation code missing #1046

Open
sidwellr opened this issue Oct 27, 2024 · 2 comments
Open

Mandelbrot set generation code missing #1046

sidwellr opened this issue Oct 27, 2024 · 2 comments
Assignees

Comments

@sidwellr
Copy link

The note about The Mandelbrot Set on page 401 states "code for generating the Mandelbrot set is included in the online examples". But it doesn't appear to be included as promised; at least I couldn't find it. I think it should be with the other chapter 8 examples when you click Examples on the website.

@sidwellr
Copy link
Author

I found the Processing example for the Mandelbrot set and converted it to p5.js: https://editor.p5js.org/rsidwell/sketches/GcOE_xkOW

Feel free to use it. But be aware I did change the global variables that define where to compute the set to use the center instead of a corner and to only specify the width; the height is calculated based on the aspect ratio to keep the proportion the same.

@shiffman
Copy link
Member

shiffman commented Nov 2, 2024

Thank you! I also have this Coding Challenge video which was my intention to reference. https://thecodingtrain.com/challenges/21-mandelbrot-set-with-p5js I am busy with some other projects right now but when I return to the book website I will be updating this!!

@shiffman shiffman self-assigned this Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants