GithubHelp home page GithubHelp logo

cinder-puzzle's Introduction

cinder-puzzle

A framework for using the powerful clingo ASP solving system within the Cinder creative coding environment. It provides tools for

  • loading and solving existing answer set programs
  • constructing answer set programs dynamically
  • managing solve execution
  • parsing the results

Development

cinder-puzzle links against libclingo and cinder. Build both from sources and place them in cinder-puzzle's parent directory.

Pull down the clingo and cinder submodules with

git clone --recursive https://github.com/nickswalker/cinder-puzzle.git

Build these dependencies.

cd clingo
mkdir build
cd build
cmake ..
make -j8
cd ../cinder
mkdir build
cd build
cmake ..
make -j8

Usage

The API is fluctuated as development continues. Look under src/demos for full, up-to-date usage examples.

Once the dependencies are built, you can build the demos.

mkdir build
cmake ..
make

Troubleshooting

"Ignoring Xlib error" messages

Comment out fprintf(stderr, "Ignoring Xlib error: error code %d request code %d\n", err->error_code, err->request_code); in Cinder/src/AntTweakBar/TwMgr.cpp. See this thread for more information.

Segfault on demo launch

Build with system Boost. See this issue for more information.

cmake .. -DCINDER_BOOST_USE_SYSTEM=1
make

cinder-puzzle's People

Contributors

nickswalker avatar

Watchers

 avatar  avatar  avatar

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.