GithubHelp home page GithubHelp logo

ofxliquidfun's People

Contributors

chparsons avatar mat-loz avatar tado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ofxliquidfun's Issues

Does not build with 0.10 on VS2017

I get the following error if I try to build the examples on VS2017 with 0.10...

c:\dev\of_v0.10.0_vs2017_release\addons\ofxliquidfun\src\ofxbox2dutils.h(3): fatal error C1083: Cannot open include file: 'Box2D.h': No such file or directory (compiling source file src\ofApp.cpp)

Can't see anything super obvious so will use Linux for now.

Interactive particles systems

Hi,

I've been playing around with ofxLiquidFun and, more a question than an issue per say, but I was wondering if it is possible to :

1 : create elastic particles groups
2 : link them together with box2d joint
3 : controls one of those group with keyboard inputs

So far, I got step 1 (obvisouly) but when it comes to linking them, I can't seem to get each particles systems' body. ofxBox2dBaseShape has a pointer to a b2body but it doesn't seem to be used anywhere.

And I have the same problems for step 3.

I know that I can probably find a solution by adding support for the box2dParticlesGroup in ofxLiquidFun, but I have a feeling that I can achieve my goal without that.

Anyways, let me know.

Cheers

How to destroy particels that are off screen

The title says it. I saw I can set the lifetime but how can I destroy particles that are offscreen?

box2d has

bool ofxBox2dBaseShape::shouldRemoveOffScreen(ofPtr<ofxBox2dBaseShape> shape) {
    return !ofRectangle(0, 0, ofGetWidth(), ofGetHeight()).inside(shape.get()->getPosition());
}

How can I add this to liquidFun?

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.