haXe binding of OpenFrameworks.
See my blog post haXe for interactivity/creative coding.
Please refer to the examples under of/examples.
Refer to compile.hxml and compile-mac.hxml for compilation.
For API documentation please refer to the original one.
of prefix is removed except ofLog
(there is log
for math).
I have replaced the event system with HSL. Now you can do events.mouseMoved.bind(function(evt:MouseEventArgs){/*...*/});
.
SoundStream
requires hxRtAudio and compiling with -DHXCPP_MULTI_THREADED.
Currently it supports C++ target on Windows, Mac, Linux (all 32bit only).
ofSerial
andofArduino
are not yet wrapped. If you need it, tell me or use hxSerial.
- Clone this git repo by
git clone git://github.com/andyli/hxOpenFrameworks.git
cd /path/to/hxOpenFrameworks
git submodule init
git submodule update
. It will clone the openFramework fork to project/openFrameworks.cd project
and compile the ndll byhaxelib run hxcpp build.xml
.
Linux ndll needs libopenFrameworks.a, which can be compiled by:
cd project/openFrameworks/libs/openFrameworksCompiled/project/linux
make