Comments (1)
I think it could be a good match, but you'd probably need to make your own attractor / repeller function since you would essentially need to strongly repel near objects and the spherical area's edge and (maybe?) slightly attract far objects. That said, the included attractor gravity
function with negative gravity might do what you want.
from matter-attractors.
Related Issues (14)
- NPM Package broken? HOT 4
- Not working in IE11 HOT 1
- Update plugin to latest matter-js version HOT 5
- Gravity Doesn't Seem to Increase As Distance Between Objects Decreases HOT 1
- Magnetic attraction
- Repulsion Example HOT 4
- Cannot resolve dependency 'matter-js'. HOT 1
- Unsynced versioning
- Wind? HOT 2
- isStatic causes Infinite Body values HOT 1
- Attractor only works when added before other bodies HOT 4
- Nvmd.
- Disabling the attractors at will. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matter-attractors.