Harfang UI is a immediate mode GUI library built on top of HARFANG® 3D.
It supports 2D, 3D & VR (wip).
Harfang GUI was created by Eric Kernin
- Easy 2D/3D/VR GUI creation with HARFANG® 3D Python
- Immediate mode, inspired by the API of DearImGui
- Python 3.6+
- HARFANG 3D for Python
The current version of the Harfang GUI API provides the following widgets:
- Window 2D / 3D
- Info text
- Button
- Button image
- Image
- Check box
- Input text
- Scrollbar (vertical & horizontal)
- Radio image button
- Toggle button
- Toggle image
- ListBox
- Slider float
- Widgets group
Please check the code samples to see how to use the library.
See thesamples/
folder.
- Download the wheel package
- Install Harfang UI :
pip install harfangui-2.0.0-py3-none-any.whl
- Clone this repository :
git clone https://github.com/harfang3d/harfang-gui.git
- Open the local repository in VSCode
- Run the samples found in
samples/
⚠️ The first run might be a bit long, as the graphic assets need to be compiled.