Skip to content

0.2.0: physics components and interactive demos

Compare
Choose a tag to compare
@sritchie sritchie released this 03 Jul 14:28
· 13 commits to main since this release
ea84aef
  • #57:

    • Adds emmy.viewer.physics/evolve, for running realtime physics simulations and updating state into a client-side atom.

    • Adds emmy.mathbox.physics/comet, for rendering points with trailing, fading-out history.

    • Updates examples.simulation.{oscillator,ellipsoid,double-ellipsoid} to use the new server-side style.

    • Modifies emmy.viewer/with-let to allow any number of binding pairs, not just one.

    • Adds emmy.clerk/multiviewer for presenting literals via emmy.clerk/multi with their TeX and original representations, both simplified and unsimplified.

    • Adds a missing :offset argument and :z-index, :z-bias and :z-offset to emmy.mathbox.components.plot/Ticks.

    • Adds :start? and end? arguments to to emmy.mathbox.components.plot/LabeledAxis. Also, the :z-index, :z-order and :z-bias arguments are now passed through to Ticks if not supplied directly.

    • Makes the range argument for emmy.mathbox.components.plot/SceneAxes optional.

    • Moves ode-compile from emmy.mathbox.physics to emmy.viewer.physics.

  • #56:

    • removes demo.mathbox and demo.mathlive from the published jar, and converts demo.mathbox into an examples-directory-only examples.simulation.utils. The next step is to convert all remaining cljc files into clj files using the new APIs.

    • adds hickory and deep-diff2 as provided dependencies to fix the cljdoc build.

  • #55 fixes a bug with live-updating ranges not updating axis labels.

  • #53:

    • Consolidates emmy.mafs.{core,coordinate,debug,line,plot} into emmy.mafs. This allows docstrings to appear properly on the ClojureScript side when using emmy.mafs, which all my documentation says to do.

    • Moves the CLJS files for emmy.mathbox.{plot,physics}and emmy.viewer.stopwatch over to emmy.mathbox.components.{plot,physics} and emmy.viewer.components.stopwatch.

    • All reagent-fragment-generating .clj files are now cljc files and included by emmy.viewer.sci. This enables "editor mode" in the latest Clerk builds.