Skip to content

This is based on the graphics.h library which manipulates basic Wave Simulation. Here you can draw the Sine wave,Cosine Wave,Add the Signal, Generates waves etc. and many more. Please check the Graphics.h branch.

License

sushant097/Wave-Simulation-in-C-plus-plus

Repository files navigation

Wave-Simulation-in-C-plus-plus

This is The Wave Simulation Program Written in C++ based in "Graphihcs.h" Library which can be run in Codeblocks.

This is mainly for educational purposes where you understand how the signal is generated, animated and perform basic computation with it. If you want to run this code in your machine. I really suggest you the codeblocks with graphics.h added in it. In Other IDE can also be run but some change should be done.

The sample of output generated by it is: Image of Sine and Cosine Wave Addition

This consists following feature:

  • Generate Square Wave (all based on inputs of Amplitude and Frequency)
  • Generate Cosine Wave
  • Addition of Sine and Cosine Wave
  • Subtraction of Sine and Cosinge Wave
  • Generates Other Waves
    • Square Waves
    • Traingular Waves
  • Option to change Font and Background Color as Specified..

Coding challenge: As the frequency of the signal increases, the signal narrows. However, as the frequency of the square wave is increased, it begins to wider.

Disclaimer: Only for personal use. Any improvement through pull request is highly appreciated.

About

This is based on the graphics.h library which manipulates basic Wave Simulation. Here you can draw the Sine wave,Cosine Wave,Add the Signal, Generates waves etc. and many more. Please check the Graphics.h branch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages