C++ Programming GalleryGraphics

Draw Electric Potential in C++, using graphics.h BGI library

It plots the distribution of potentials between two parallel plates at
different potentials, like a capacitor. Using a recursive algorithm
instead of array-based algorithms

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:

Join The World of Chaos Developer Community😃

Contribute to the project on Github!

HISTORY

  • Version 2 – 30-III-2024
    • The initially proposed algorithm is improved, correcting the recursive calculation of potentials on the edges of the recursive square.
    • Documentation is added to improve future work
    • The algorithm is coded using a CElectricPotential class, which organizesand streamlines the coding.
    • The Grafxy class is improved to draw directly in memory, using bitmaps and putimage, instead of using the putpixel function, which is quite slow. Considerably increasing the program’s performance in time
  • Version 1 – 06-X-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