Skip Navigation Links

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:

  1. Drawing graphics
  2. Printing graphics
  3. Serializing graphics to disk files
  4. Copying graphics to the Clipboard
  5. Reducing the quality of JPEG bitmaps to save space
  6. E-Mailing via SMTP
  7. E-Mailing graphics as attachments

Requirements

This source code was developed with Microsoft Visual Studio 2005. Fractal Viewer requires .Net 2.0.

Source Code



Home Page   Shareware   C# .NET Tips   Download C# .NET Source Code   Browse C# .NET Source Code   C# .NET Open Source   On-Line Utilities   Blog   Contact