C++ Programming GalleryFractals

Mandelbrot fractal explorer in C++ (DMandel), using graphics.h BGI library

At the request of several friends, I upload this program that diagrams the Mandelbrot set, using a short, simple and easy to understand code (compared to FractalX), in addition to serving as help for those who want to start programming their own fractals. using the powerful BGI routines for Windows with WinBGIDLL, to paint pixels on the screen using a 256-color palette.

Starting with version 3, released in 2024, the CScreenBitmap class is added, which allows defining a bitmap with or without a color palette, which is compatible with the “putimage” function of WinBGI, in such a way that stores the bitmap in memory and quickly draws it in the main program window. This class should be used to replace the WinBGI putpixel function, since the latter is very slow when drawing to the screen.

Developed by:

JOSE LUIS DE LA CRUZ LAZARO

YACSHA – Software & Desing, since 1999, Lima – Perú
The World of Chaos – EL MUNDO DEL CAOS – Unlimited Programming

You can DOWNLOAD the SOURCE CODE and executable software for FREE from here:

Dmandel (804 downloads )

Join The World of Chaos Developer Community😃

Contribute to the project on Github!

HISTORY

  • Version 3 – 11-IV-2024
    • Update graphics/dmandel – Porting to VC++ 2017 using winbgi
    • Porting to VC++ 2017 completed
    • Update credits and history
    • The credits have been translated from Spanish to English
    • Update from version 1.0(01-XI-1999) to version 1.5(23-II-2002)
    • Simple example of fractal diagramming. Optimization of version 1.0,
      now you can customize the palette of 256 colors that our fractal will
      use, using the setrgbpallete function of the BGI
    • Update code format
    • Update credits
      Enabled coordinates for plot “Lightning Mandelbrot”
    • Stop using the winbgi putpixel function and use the CScreenBitmap
      class instead, to speed up the drawing of the fractal on the screen
    • The conio.h library is used to display the end credits
  • Version 2 – 25-III-2024
    • Update graphics/dmandel – Porting to VC++ 2017 using winbgi
  • Versión 1.5 – 23-II-2002
    • Simple example of fractal diagramming. Optimization of version 1.0,
      now you can customize the palette of 256 colors that our fractal will use,
      using the setrgbpallete function of the BGI
  • Version 1 – 01-XI-1999
    • First version for Borland C++ 3.1 and Turbo C 3.0

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button