wdas / SeExpr

SeExpr is an embeddable, arithmetic expression language that enables flexible artistic control and customization in creating computer graphics images. Example uses include procedural geometry synthesis, image synthesis, simulation control, crowd animation, and geometry deformation. https://wdas.github.io/SeExpr
https://www.disneyanimation.com/open-source/seexpr/
Other
406 stars 86 forks source link

===================================================================

For info on using new v3 features and porting your code, see:

http://wdas.github.io/SeExpr/doxygen/html/SeExpr_FAQ.html

===================================================================

SeExpr - An embeddable expression evaluation engine

Super impatient CMake building and installing guide

$ git clone https://github.com/wdas/SeExpr
$ cd SeExpr
$ mkdir build
$ cd build
$ cmake ../
$ make doc      # optional make documentation
$ make install

You can try the test application asciiGraph which is a simple function grapher... e.g.

./asciiGraph "x^3-8*x"

Getting started

Examining the demo applications in src/demo is a great way to see some usage examples of the library. The basic strategy is to subclass the Expression class and implement the methods that describe what extra functions and variables your expression evaluation will need

Be sure to check out the doxygen pages for an API overview: http://wdas.github.io/SeExpr/doxygen/ http://wdas.github.io/SeExpr/doxygen/v1 (for older documentation)

Source code overview

src/
   SeExpr2/  Library code
   ui/       User Interface components for editing
   demos/    Demo Applications
   tests/    Regression Tests
   doc/      Doxygen generation

SeExpr Developers

Walt Disney Animation Studios