A simple educational C++ graphics library inspired by the Processing ecosystem
The goal of this library is to provide a simple programming environment for students, where they can learn programming while developing interesting graphics programs instead of boring console applications.
The API is inspired by Processing, although it is not a port.
Students can either write programs in C++ to have the full potential at their fingertips, or they can choose pure C, if they want to learn the language without accidentally using C++ features.
You can find the documentation and reference at
https://herrnamenlos123.github.io/cppgfx/
This library is written in C++17. It is written to be cross-platform and will work equivalently on all supported platforms.
- Microsoft Windows
- Developed and tested on Windows 11
- Older versions might work but are untested
- Linux
- Developed and tested on Ubuntu 20.04
- Other distributions might work but are untested
Any other platforms (such as MacOS, etc) are not officially supported. Due to the libraries used it should build on pretty much any platform, so feel free to test the library on any platform and create an issue if things do not work out.
- MSVC (VS 2022)
- MinGW
- gcc 9
Any other compilers will probably work too, but are not officially tested. Feel free to test the library with any compiler and create an issue if things do not work out.
Please check the documentation linked above for instructions.
You will want to visit The cppgfx example project template.
If you are on Linux, you must first install all prerequisites.
Linux:
sudo apt-get update && sudo apt-get install -y libgl1-mesa-dev libflac-dev libogg-dev libvorbis-dev xorg libfreetype-dev libxrandr-dev libopenal-dev libudev-dev doxygen
pip install sphinx sphinx_rtd_theme breathe exhale
This library is distributed under the MIT license. This means you are free to use it for whatever you like. This library is distributed without any warranty whatsoever.
I do all of my projects in my free time and I do not get any money for that. I just like what I do, do it for myself and want to share it so that others can benefit too.
I like to drink beer and any support is greatly apprechiated :)