tado / ofxliquidfun Goto Github PK
View Code? Open in Web Editor NEWopenFrameworks wrapper for LiquidFun.
License: zlib License
openFrameworks wrapper for LiquidFun.
License: zlib License
I am new to OpenFrameworks and LiquidFun and have a simple question.
If can set the size of all the particles in the system by calling
particles.particleSystem->SetRadius
but how would I do that for a single particle?
Cheers
Andreas
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
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.