anvaka / ngraph.physics.simulator

Physics library for ngraph
MIT License
23 stars 7 forks source link

Creating new forces #1

Open sheerun opened 10 years ago

sheerun commented 10 years ago

Hi!

I have following use case: some nodes need to be presented on the left/right/top/bottom of another, i.e. I need to apply some constant force to some groups of nodes. E.g. so some node will always happen to be above any other connected node rather than in random direction.

Is it possible to add new kinds of forces to simulation?

sheerun commented 10 years ago

So basically it would be constant directed force applied only to connected nodes.