Famous / Famous/engine

[Question] Particle Energy

Open
#391 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
249
PR merge metrics
No merged PRs in 30d

Description

@browles Is there any plan to implement events triggered by the `Particle` itself? Right now if I want to stop requesting updates for the `PhysicsEngine` I need to listen for the `poststep` and then manualy calculate the energy for each `Particle` using the formula: `0.5 * this.mass * this.velocity.normSquared()` .. ?

Is there a plan to reimplement the energy calculations?

I think stopping and starting the `PhysicsEngine` is better than always letting it run .. (?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.