A Conceptual Model of "Varying Inertia" (NKTg Law) — Could Akka Simulate Physical Dynamics?

Hi everyone,

I’d like to introduce a conceptual framework—the NKTg Law—that models how an object’s motion changes when mass varies over time. I’m curious if Akka (especially Akka Streams or typed actors) could be a good fit for simulating or visualizing such dynamics.

Concept Overview

  • Variables:

    • x: position

    • v: velocity

    • m: mass (which may vary over time)

  • Derived Quantities:

    • NKTg₁ = x × p

    • NKTg₂ = (dm/dt) × p
      where p = m × v (momentum), and dm/dt = mass variation rate.

  • Interpretation:

    • NKTg₁ > 0: object moves away from equilibrium

    • NKTg₁ < 0: object moves towards equilibrium

    • NKTg₂ > 0: mass change supports motion

    • NKTg₂ < 0: mass change resists motion


Why Akka?

I’m envisioning a simulation platform where actors or streams could model time evolution—computing x, v, m at discrete steps, then deriving NKTg₁ and NKTg₂. Akka Streams could represent data flows over time, while Akka Typed Actors might represent each physical entity or time-step independently.


Questions for the Community

  • Has anyone explored physical simulations using Akka Streams or Typed Actors?

  • How would you architect this? Perhaps using streams to propagate state, or actors to represent each simulation step?

  • Any recommended libraries for plotting or visual feedback in Scala/Akka (e.g., Breeze, ScalaFX, interop with Plotly)?


I appreciate your feedback and any pointers on tools or architectural patterns that could help realize this simulation in Akka.