#Some questions about making a Mandelbrot set in Java
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
-
For creating a Mandelbrot set in Java, some recommended libraries are:
- JFreeChart: A popular library for creating charts and graphs in Java.
- Apache Commons Math: Provides mathematical algorithms and utilities for Java.
- Jzy3d: A 3D visualization library that can be used for rendering Mandelbrot sets.
-
For rendering the Mandelbrot set, OpenGL would be a more common choice as it has better support in Java libraries and frameworks compared to Vulkan.
Useful links:
You could simply use swing, or javafx
really?
hmm ig i could use javafx then
you don't need fast rendering, only keep 30fps
the only thing that matter is the speed at which you generate it
hmm alr
do you think i can zoom in deep in the mandelbrot set
or is it evnetually gonna lagg
you want to draw less detail depending of the zoom
hmm alr thx
im a nooby and in this project i dont wanna use chatgpt
so this gonna be a difficult one 😭
but interesting
i really want to make this
it looks so cool lol
@strong oyster a simpler one that doesn't require zooming would be game of life
yea but u can't have a mandelbrot set without the zooming 💀
XD that's the cool thing abt it 😭
imma try to first get the mandelbrot itself to function
that's the first goal ig
harder then i expected...
tbh
im going to use a bit of ai
ik ive not did a lot alr 😭
XD
giving up mindset ik 😭
stop using it
follow a course about swing or javafx, don't use the shortcut mindset
I did mandelbrots, with zoom back in college (late 90s) with just awt. There's no worry about frame rate, because there won't be any once you zoom in, you'll be lucky to get 1/s. Most people choose a double as their floating point computation and that will not get you very deep at all without a large number of artifacts of error. I would try to design it so the computation is pluggable so you can swap out double for something better. BigDecimal will work but it is slow. There might be better data types for this and I'm sure I've read maybe half a dozen papers on optimizations over the last 25+ years.
Yea good point
I’m going to try it tomorrow on my own then
Ai is a good tool for professionals, it's a big handicap for beginners. Like having someone else do your assignment for you.
yea ur right