Android Cloth Sim 1.0
This is a simple android opengl sample I made. (It is my android "Hello World" actually.)
It simulates a cloth, with an array of springs and masses, and a probabilistic model for wind. Also there is friction proprotional to speed, to stop it from going nuts.
The model for wind is very simplistic but that wasn't what I was after, I just wanted to make the rendering work, so that I can
later tinker with different wind models, and further optimize the calculations etc.
Also the coordinates are just so awful and absouletly do not scale, and as they are calibrated to my Samsung S6 expect them to be off
the charts! The code though is not hard to understand (I hope).
It is a nice benchmark to see how smart phones hold up when calculations get tense, just crank up the node numbers in the code and let
'em have it.
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
ImanHosseini/ACS1.0
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Android Cloth Sim 1.0
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published