Skip to content

vixns/hxOpenFrameworks

 
 

Repository files navigation

hxOpenFrameworks

haXe binding of OpenFrameworks.

Why?

See my blog post haXe for interactivity/creative coding.

Usage

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).

Known issues

  • ofSerial and ofArduino are not yet wrapped. If you need it, tell me or use hxSerial.

How to compile ndll(not required for normal user)

  • 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 by haxelib run hxcpp build.xml.

Linux ndll needs libopenFrameworks.a, which can be compiled by:

  • cd project/openFrameworks/libs/openFrameworksCompiled/project/linux
  • make

About

haXe binding to OpenFrameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 63.7%
  • C++ 36.3%