Fractal Viewer
Information
Description
Fractal Viewer displays the Mandelbrot Set and Julia Set
fractals and allow you to zoom into and out of regions
of interest. You can e-mail graphics as attachments. If
you e-mail graphics in JPEG format you can reduce the
quality to reduce the size of the graphic being e-mailed.
This source code was published as part of an article that
originally appeared in Hardcore Visual Studio .NET. Copyright
Pinnacle Publishing Inc. All rights reserved.
Running Fractal Viewer
Launch Fractal Viewer. Choose the fractal type (Mandelbrot,
Julia) and the resolution in the View / Settings dialog box.
To select a region of interest, click the left mouse button on
the top, left corner of the region of interest. Keep the mouse
button down and drag the cursor to the bottom, right corner.
Then click in the Zoom In toolbar button. You can zoom in
an arbitrary number of times. You can also zoom out by
clicking the Zoom Out toolbar button. To e-mail the current
graphic, press the Send E-Mail toolbar button or select File / Send E-Mail.
The C# and .NET concepts illustrated by this source code include:
- Drawing graphics
- Printing graphics
- Serializing graphics to disk files
- Copying graphics to the Clipboard
- Reducing the quality of JPEG bitmaps to save space
- E-Mailing via SMTP
- E-Mailing graphics as attachments
Requirements
This source code was developed with Microsoft Visual Studio 2005. Fractal Viewer
requires .Net 2.0.
Source Code