Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleDraw a vortex fractal in Visual Basic .NET
DescriptionThis example shows how to draw a vortex fractal in Visual Basic .NET.
Keywordsgraphics, fractals, vortex, vortex fractal, vortex set, algorithms, complex, complex numbers, iterated system, iteration, Visual Basic .NET, VB.NET
CategoriesAlgorithms, Graphics, Graphics
 

I stumbled across this fractal while trying to draw the Phoenix set. The vortex fractal (a name I picked because some versions of the fractal look like whirling vortices) is generated by iterating the equation:

    Zn+1 = Zn2 + Re(C) + Im(C) * Zn-1

Where the Zs and C are complex numbers, C is a constant, and for a point (X, Y):

    Z0 = X + Yi
    Z1 = X + Yi

The program iterates this equation until the magnitude of Zn is at least 2 or the program performs a maximum number of iterations.

See the code for details.

 
 
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated