#Some questions about making a Mandelbrot set in Java

1 messages · Page 1 of 1 (latest)

strong oyster
#

Hi everyone! I want to create a Mandelbrot set in Java on Linux

  1. Which libraries do you recommend for this?
  2. Should I use OpenGL or Vulkan for rendering?
thorny basinBOT
#

<@&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>.

#
TJ-Bot
Hi everyone! I want to create a Mandelbrot set in Java on Linux 1. Which libraries do you recommend for this? 2. Should I use OpenGL or Vulkan for rendering?
  1. 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.
  2. 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:

left kelp
strong oyster
#

hmm ig i could use javafx then

left kelp
# strong oyster really?

you don't need fast rendering, only keep 30fps
the only thing that matter is the speed at which you generate it

strong oyster
#

do you think i can zoom in deep in the mandelbrot set

#

or is it evnetually gonna lagg

left kelp
strong oyster
#

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

left kelp
#

@strong oyster a simpler one that doesn't require zooming would be game of life

strong oyster
#

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 😭

left kelp
#

follow a course about swing or javafx, don't use the shortcut mindset

ocean galleon
#

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.

strong oyster
#

I’m going to try it tomorrow on my own then

tender nymph
#

Ai is a good tool for professionals, it's a big handicap for beginners. Like having someone else do your assignment for you.