75 karma · joined Aug 10, 2018 (8y ago) · 28 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
In this case it’s basic “verlet” integration, which involves updating 2d vectors forming the grid based on their current and previous position, and constraining them to a certain distance from their immediate neighbours. Draw lines between them and you have a cloth. I first came across it because I was fascinated by physics simulation and it was one of the simplest things to implement. A lot of bang for your buck in terms of results. It gets far more complicated from there.
comment 3y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
You're talking about Electron there, which like phonegap is a browser wrapper and a different thing to RN. I don't believe RN is known to be a battery drain in general.
comment 6y ago · link · parent
comment 7y ago · link · parent
You can kind of make a logical link if you try, but I don't believe that's how it plays out in reality. It'll possibly be more relevant if/when these virtual assistants become indistinguishable from humans and perhaps have a physical form.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent