Results 1 to 12 of 12

Thread: What FRACTAL have you created in VB6?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2015
    Posts
    88

    What FRACTAL have you created in VB6?

    Hi there All.

    I like to be creative and dabble in making Fractals just for fun. I thought I would start up a FRACTAL related thread and see what Fractal programs other people have made using VB6.

    Here are a few that I have created:

    Circle Fractal
    The circles recurse around each other. Almost like an embroidery pattern at higher recursion levels.

    Name:  circ2j.jpg
Views: 239
Size:  31.8 KB

    Square Fractal
    The squares repeat again and again. Sides of the squares can be turned off to make other lined patterns.

    Name:  square.jpg
Views: 241
Size:  41.8 KB


    Here are the codes for people to play around with. I wonder if converting to CAIRO improves their quality. Also thought of adding transparency as an extra effect.

    Please share your own VB6 fractals if you would like to.

    Here are the source codes to mine. Enjoy.

    circfract.zip

    Square Pattern.zip



    Regards Eddie
    Last edited by CreativeDreamer; Sep 26th, 2021 at 04:33 AM.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Mar 2015
    Posts
    88

    Re: What FRACTAL have you created in VB6?

    And here is another fractal.


    Sierpinski Triangle
    The triangles repeat. At higher levels the pattern almost becomes 3D.

    Name:  screen.jpg
Views: 230
Size:  43.7 KB


    See it looks almost 3D

    sieripinski.zip

  3. #3

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2015
    Posts
    88

    Re: What FRACTAL have you created in VB6?

    Wow The Trick.

    Your Julia Set Fractal program looks great. Your MultiThreading skills are Top Notch. Never really fullly understood multithreading in VB6 so I tended to concentrate on geometry, recursiveness and basic program design.


    Would love to include multithreading in my programs so I will have a look at your code.
    At higher levels my programs (the Circle fractal in particular) are a bit slow and LAGGY.

    Thanks for the Reply The Trick.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2015
    Posts
    88

    Re: What FRACTAL have you created in VB6?

    And another fractal.

    Hilbert Fractal
    Makes an endless squiggly line pattern.

    Name:  screenHilr.jpg
Views: 187
Size:  133.2 KB

    Some Useful Key Combinations

    Click Palette colours = Changes foreground
    Click Palette colours & press Shift = Changes Background

    Click label Colours & press Shift = side palette hidden
    Click label Colours & press Control = bottom palette hidden
    Click label Colours & press Ctrl & Shift = both palettes hidden
    Click label Colours = both palettes visible

    And the source code: Hilbert.zip

  6. #6
    Frenzied Member
    Join Date
    Dec 2014
    Posts
    1,610

    Re: What FRACTAL have you created in VB6?

    I remember doing such things with my amiga500, using different formulas, mostly sin/cos/tan stuff to create patterns, kaleidoscope and similar Julian/Mandelbrot alternatives.
    always wanted to create an animated Mandelbrot program but when I tried that 20 years ago VB6 was indeed slow and my knowledge limited.
    maybe another try with todays standard and use direct2d/opengl/gdi instead?

    I also coded a "life" program, u know, u create a pattern, and u see if the pattern can evolve or just die out.
    not sure when and where I have it, I think lost in time, but also fun things to create and watch.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Mar 2015
    Posts
    88

    Re: What FRACTAL have you created in VB6?

    Thanks Baka for your input.

    I have come across quite a few CPP source codes and programs that Animate the Mandelbrot and Julia Sets quite well. Most of these use OpenGL and other GL Ray traceers to add "Glassiness" to the fractal images, with many being Multithreaded and using the CPU and GPU. "Mandelbulber" is a free program that many are using to create those really sophisticated Fractal Patterns. People make these sophisticated scripts and upload them to the Web for others to try out, but unfortunately you need pretty powerful computers to do this.

    When animating, the Fractal programs make use of 3 Disney Animation Principals called "Appeal", "Arcs" and "Anticipation". Appeal makes sure that images are not "Twinned" or totally symmetrical. Antipation and Arcs are the curved Arcs and Circles that both Mandelbrot and Julia Fractals are known for, so the swirls add excitment to the Fractal Animation (A bit like a Roller Coaster Animation).

    My next two fractals are "Fractals that show Randomness". For this I am showing a Fern Fractal and a Random Tree Fractal. The Fern Fractal uses IFS (Iterated Functions System) and the Tree Fractal introduces Randomness so as not to make the Tree totally Symmetrical. IFS relies on a set of "Grammar Rules" or Algorithms that decide when to turn and when to go straight. Randomness adds a bit of unpredictability into the fractal picture so as to make it more realistic to a Real Tree or Plant in Nature.

    Unfortunately straight VB6 does not do Alpha, Anti-aliasing, Shadows and MultiThreading as well as languages like Java, JavaScript and CSharp. It is still nice to play around with VB6 to make simpler, less CPU intensive Fractal Programs.

    The Fern Fractal
    Uses IFS/Algorithm to make a near realistic picture of a Fern Leaf.

    Name:  screen3.jpg
Views: 153
Size:  61.4 KB

    Random Tree Branch Fractal
    Uses randomness to make the fractal more Appealing and more Life-Like.This tree was originally made by Originally made by: Jason Ryczek on Planet Source code. I then added a few bits and pieces.

    Name:  screen3.jpg
Views: 151
Size:  46.6 KB

    And the source code for both programs:


    Random Tree Branch Generator.zip
    Fern Leaf Generator.zip

    Perhaps play around with these are see what extra features you can come up with.
    Last edited by CreativeDreamer; Sep 27th, 2021 at 04:30 PM.

  8. #8

  9. #9
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,771

    Re: What FRACTAL have you created in VB6?

    It's a happy little tree.
    My usual boring signature: Nothing

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Mar 2015
    Posts
    88

    Re: What FRACTAL have you created in VB6?

    My New Moto: "CREATIVE DREAMS can turn into REALITY" Just Joking.

    Just finished making another Fern/Snowflake type program. Here are some designs:

    Name:  vbforumn1test_1.png
Views: 74
Size:  31.7 KB

    Name:  vbforumn2nice_2.png
Views: 73
Size:  34.8 KB


    I created a GitHub Page if anyone would like to download various fractal programs that I have made.

    At: github.com/BoleeMan

    Name:  slim2.jpg
Views: 72
Size:  24.1 KB
    Last edited by CreativeDreamer; Oct 12th, 2021 at 08:21 AM.

  11. #11
    Hyperactive Member
    Join Date
    Jul 2020
    Posts
    300

    Re: What FRACTAL have you created in VB6?

    Comments in the file are not translated into English.
    Attached Files Attached Files

  12. #12
    Frenzied Member
    Join Date
    Jan 2020
    Posts
    1,635

    Re: What FRACTAL have you created in VB6?

    Maybe it's convenient to have a game guide or a graphic guide.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width