wordplaydev / wordplay

An accessible, language-inclusive programming language and IDE for creating interactive typography on the web.
Other
63 stars 44 forks source link

Gravitation #20

Open amyjko opened 1 year ago

amyjko commented 1 year ago

What's the problem?

Output can currently have a mass and Motion, allowing it to be affected by gravity, and gravity can be customized on the stage. However, it is not currently possible to create other sources of gravity (e.g., giving a Phrase a very large mass and having it influence the velocity of other outputs with mass).

What's the design idea?

Modify the Physics engine to have all outputs with mass to affect other outputs with mass.

Who benefits?

Anyone wanting to create projects that have gravity wells or magnet-like behaviors.

Design specification

(This section should be included after a design proposal is ready and approved, and the buildable tag is added. This text can remain until then. Designers should add their proposal here, not in a comment).

shiinasugioka commented 1 year ago

If you want to work on this ticket with me let me know on slack! Open to collaborate

shiinasugioka commented 11 months ago

@amyjko Hi, can I get a little clarity on what this ticket is asking for? I was playing around with the editor but it looks like gravity is already an editable value that can be modified through a scale. Thank you!:

image

amyjko commented 11 months ago

@shiinasugioka I updated the description of this issue to better articulate the feature request.