dayton-outar / wobblecraft

A graphical terminal application
0 stars 0 forks source link

Complete First Phase of Wobblecraft #1

Open dayton-outar opened 9 hours ago

dayton-outar commented 9 hours ago

Build a terminal application using C++ to show a donut wobbling in a rain of characters. Green on black.

dayton-outar commented 6 hours ago

For creating a graphical animation project in a GUI for Ubuntu, similar to what is possible with the Canvas API in browsers, you can use libraries or frameworks in languages like C++, Python, or JavaScript that offer rich graphical and UI capabilities. Below are a few approaches:

1. Using GTK with Cairo (C/C++)

GTK is a popular toolkit for creating graphical user interfaces on Linux, and Cairo is a 2D graphics library that can be used with GTK for drawing.

Steps:

2. Using PyQt5 or PySide2 (Python)

PyQt5 or PySide2 allows you to create graphical applications in Python, and the QPainter class offers similar drawing capabilities to the Canvas API.

Steps:

3. Using SDL or SFML (C/C++)

SDL (Simple DirectMedia Layer) and SFML (Simple and Fast Multimedia Library) are powerful libraries for creating 2D/3D graphics applications and games.

4. Electron with HTML5 Canvas (JavaScript)

If you're familiar with JavaScript, you can use Electron to create a desktop application and embed HTML5 Canvas in the window.

Steps:

Summary:

Let me know if you'd like a more detailed example for any specific approach!