Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Instructions
- Speed up Mandelbrot by performing the computation directly instead of using Complex. Compare. Incorporate periodicity checking or boundary tracing for further improvements. Use divide-and-conquer: choose 4 corners of a rectangle and a few random points inside; if they're all the same color, color the whole rectangle that color; otherwise divide into 4 rectangles and recur.
- Mandelbrot.java
- http://introcs.cs.princeton.edu/java/32class/Mandelbrot.java.html
- Look into the resources about Mandelbrot Set on this link: 3.2 Creating Data Types
- https://introcs.cs.princeton.edu/java/32class/
- Boundary tracing - Wikipedia
- https://en.wikipedia.org/wiki/Boundary_tracing
- Complex.java
- http://introcs.cs.princeton.edu/java/32class/Complex.java.html
- WARNING: Documentation is 20% of your grade.
Add Comment
Please, Sign In to add comment