https://github.com/harfang3d/harfang-ui
Harfang UI is a immediate mode GUI library built on top of HARFANG® 3D
https://github.com/harfang3d/harfang-ui
2d 3d gui harfang3d immediate-gui immediate-mode python ui virtual-reality vr
Last synced: about 1 month ago
JSON representation
Harfang UI is a immediate mode GUI library built on top of HARFANG® 3D
- Host: GitHub
- URL: https://github.com/harfang3d/harfang-ui
- Owner: harfang3d
- License: other
- Created: 2022-07-13T11:56:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-14T19:04:12.000Z (over 1 year ago)
- Last Synced: 2023-08-14T21:58:40.053Z (over 1 year ago)
- Topics: 2d, 3d, gui, harfang3d, immediate-gui, immediate-mode, python, ui, virtual-reality, vr
- Language: Python
- Homepage:
- Size: 5.55 MB
- Stars: 21
- Watchers: 5
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Harfang UI
**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](https://github.com/ErkMkd)
___
## Overview
* Easy 2D/3D/VR GUI creation with HARFANG® 3D Python
* Immediate mode, inspired by the API of [DearImGui](https://github.com/ocornut/imgui)## Requirements
* Python 3.6+
* HARFANG 3D for Python
___
## Widgets typesThe 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## How to use Harfang UI?
>Please check the code samples to see how to use the library.
See the `samples/` folder.## How to run the samples?
1. Download the [wheel package](https://github.com/harfang3d/harfang-gui/releases)
1. Install Harfang UI : `pip install harfangui-2.0.0-py3-none-any.whl`
1. Clone this repository : `git clone https://github.com/harfang3d/harfang-gui.git`
1. Open the local repository in VSCode
1. Run the samples found in `samples/`
- :warning: The first run might be a bit long, as the graphic assets need to be compiled.