1
General discussions / Mandelbrot/Fractals
« on: January 31, 2011, 01:54:58 pm »
Hi everybody :D
Im new to SFML and as a first project Im trying to program the Mandelbrot set. I did the same with the canvas2d library in java so I know how to go about it, however there are a few questions I cannot answer with my limited experience in SFML. Since the calculations for a Mandelbrot set need to be fast, meaning the paint methods should have a high performance Im having a few unresolved questions:
How can you a draw a point and set its color?
Should I draw every point at a time or whats the most efficient way to do this in SFML?
regards and thank you in advance,
aline
Im new to SFML and as a first project Im trying to program the Mandelbrot set. I did the same with the canvas2d library in java so I know how to go about it, however there are a few questions I cannot answer with my limited experience in SFML. Since the calculations for a Mandelbrot set need to be fast, meaning the paint methods should have a high performance Im having a few unresolved questions:
How can you a draw a point and set its color?
Should I draw every point at a time or whats the most efficient way to do this in SFML?
regards and thank you in advance,
aline