Aeva / dream_machine

Aeva's Dream Machine ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies

Python 3.8 or newer is required, and should be present in your system PATH environment variable.

Generating and building D3D12 and OpenGL programs requires clang to be installed and present in PATH as well.

To run tests, you will also need the python modules mypy and pytest, which can be installed via pip.

The OpenGL backend additionally requires glad to be installed separately. Glad is available in pip.

Installation

git clone git@github.com:Aeva/dream_machine.git
cd dream_machine
git submodule init
git submodule update
python setup.py develop --user
pip install glad

Usage

Modify example.data to specify your program, and then run build.bat. This will generate generated.cpp and then it will compile your program to produce generated.exe.

Shaders go in the shaders directory. Additional behavioral hooks can be customized via user_code.cpp.

About

Aeva's Dream Machine ✨

License:Apache License 2.0


Languages

Language:Python 89.9%Language:C++ 8.5%Language:JavaScript 1.6%Language:Batchfile 0.0%