Introduction
Bodylight.js Composer is a visual editor for creating in-browser dynamic applications and visualizations. It utilizes the Modelica language as the motor behind the running simulations.
Within 15 minutes, you can easily turn this Modelica code
Real sinus;
Real cosinus;
parameter Real sinus_shift = 0;
parameter Real cosinus_shift = 0;
parameter Real sinus_frequency = 1;
parameter Real cosinus_frequency = 1;
equation
sinus = Modelica.Math.sin( (time + sinus_shift) * sinus_frequency )
cosinus = Modelica.Math.cos( (time + cosinus_shift) * cosinus_frequency )
into this in-browser running application.
Composer
The Bodylight.js Composer as well as this documentation has not yet reached version 1.0, some documentation may be missing.
Showcase
Nephron
Using composer we developed the Nephron teaching simulator.
You can find the source code at github:jansilar/Nephron