Where Can I Find a Good Fractals Programming Tutorial?

Click For Summary

Discussion Overview

The discussion revolves around finding good tutorials for programming fractals using various computer languages, including C++, Java, Python, C#, Perl, Delphi, and OpenGL. Participants seek resources and guidance on how to implement fractal algorithms and display them on web pages.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant requests tutorials for programming fractals in multiple languages and seeks suggestions for useful resources.
  • Another participant notes that there are many resources available online but does not elaborate on specific ones.
  • A participant expresses interest in posting a fractal calculating program on a webpage using Java or other languages, asking for guidance on how to do so.
  • There is a suggestion that using a Java applet might be the easiest way to post fractals on a webpage.
  • Concerns are raised about the limitations of using OpenGL due to hardware constraints, with a request for alternative options.
  • A participant mentions that the provided tutorial does not specify which compiler was used, but believes it should not matter as the code is standard.
  • Another participant reports errors when copying and pasting code, indicating that the tutorial does not provide a complete program suitable for direct execution.
  • One participant shares their experience using a tutorial for drawing the Mandelbrot set, emphasizing the need to adapt algorithms to the chosen programming language and the importance of understanding the underlying programming concepts.

Areas of Agreement / Disagreement

Participants express varying levels of experience and understanding of programming, with some indicating that they are beginners while others have more advanced knowledge. There is no consensus on specific resources or methods for programming fractals, and multiple viewpoints on the best approach are present.

Contextual Notes

Participants mention the need for a deeper understanding of programming languages to effectively use the provided tutorials, indicating that the tutorials may not be suitable for complete beginners. There is also a discussion about the potential limitations of hardware when using certain programming techniques.

Dr. Physics
Messages
33
Reaction score
0
I want good tutorial on programming fractals using computer languages like C++,Java,Python,C#,Perl,Delphi,OpenGL.
I want to program various fractals using any above languages for that I need some tutorial.
Please suggest me some of the resources which are useful.
 
Technology news on Phys.org
This might be a good place to start. I'm not sure why you ask, though. There's plenty to be found about it on the internet.
 
Thanks Hobin, is that above program was compile in C++.
I want to post fractal calculating program on webpage with the help of Java or any other languages, how to do that.
Also fractals can be calculated by using OpenGL but my computer doesn't have good GPU.
Any other option can you suggest.
 
Dr. Physics said:
I want to post fractal calculating program on webpage with the help of Java or any other languages, how to do that.
You'd have to learn to either code a Java applet or use some sort of scripting on your webpage. A Java applet is probably easiest.

Dr. Physics said:
Also fractals can be calculated by using OpenGL but my computer doesn't have good GPU.
Then don't use your GPU. :smile: Though this might make things a bit more complicated. Are you an experienced programmer?
 
I am a high school student and an intermediate program.
The link which you post for fractal programming which compiler was used.
 
Dr. Physics said:
The link which you post for fractal programming which compiler was used.
I don't know, as it's not on the page. It shouldn't matter, though. I've gone through the code, and there is nothing nonstandard about it. It does not, however, give you a whole C/C++ program to just copy and run. You might want to learn a little more about the language itself before trying these examples.
 
I copy n pasted the program code but it shows error. I am using Dev C++ 5.0
 
Dr. Physics said:
I copy n pasted the program code but it shows error. I am using Dev C++ 5.0

Yes, that's because you can't copy and paste it, because it's not a program. It doesn't provide the C/C++ barebones your compiler requires. Like I said, if you just want to copy, paste and run such an application, try to learn a little more about the language first. :smile:
 
That tutorial is the one I've been using to learn about drawing the Mandelbrot set, it's very helpful, but you must adapt the algorithm to your language of choice, and you'll need to figure out how to use whatever 2d library you are using. OpenGL is fine, I made one in C using OpenGL. The fractal rendering speed is more dependent on the algorithm you use than it is on your graphics hardware.

There are much easier programs to write while you are still learning the basics of programming.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
Replies
16
Views
3K
Replies
69
Views
11K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 397 ·
14
Replies
397
Views
22K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K