Giter VIP home page Giter VIP logo

AimGui 💢

AimGui is a library that extends and wraps Dear ImGui for use with Python OpenGL Libraries

⚠️ This is pre-alpha software. Do not use it for production. Packages and binary wheels are a work in progress

Motivation

I wanted to experiment with the latest features of Dear ImGui's docking branch. My first thought was to fork pyimgui but I am not familiar with ctypes so I chose a different route. I combined the Python parts of pyimgui with the C++ parts of deargui, another excellent project

OpenGL Libraries Supported

The Python Arcade Library

ModernGL

Required

Optional

Clone

    git clone --recursive https://github.com/aimgui/aimgui
    cd aimgui

Virtual Environment

    poetry shell

Build AimGui

    cd aimgui
    poetry install
    python setup.py build

Or

    python setup.py build --build-type Debug

Visual Studio 2019/2022

    python setup.py build -G "Visual Studio 16 2019" --build-type Debug
    python setup.py build -G "Visual Studio 17 2022" --build-type Debug

Run the Demo

    cd aimdemo
    poetry install
    python aimdemo

Individual Examples

    python examples/basic.py
    etc ...

Build AimPlot

    cd aimplot
    poetry install
    python setup.py build

Run the Demo

    cd aimplotdemo
    poetry install
    python aimplotdemo

Run the AimFlo Demo

    cd aimflo
    poetry install
    python aimflo

Development

Tool Chain

scikit-build

pybind11

Build

Generate Bindings

    aimgen gen

Release

    python setup.py build

Debug

    python setup.py build --build-type Debug

Attribution

I'd like to thank the authors of the following repositories for making this possible!

pyimgui

deargui

aimgui's Projects

aimgui icon aimgui

AimGui is a library that extends and wraps Dear ImGui for use with Python OpenGL Libraries

imnodes icon imnodes

A small, dependency-free node editor for dear imgui

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.