diff --git a/web/settings.py b/web/settings.py index 5ecf753d3..270bbeb3f 100644 --- a/web/settings.py +++ b/web/settings.py @@ -116,6 +116,7 @@ "captcha", "markdownx", "web", + "web.virtual_lab.apps.VirtualLabConfig", ] if DEBUG and not TESTING: diff --git a/web/templates/base.html b/web/templates/base.html index 67ccf0b39..abda0ee64 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -283,6 +283,11 @@
+ Dive into interactive experiments and deepen your understanding of fundamental concepts. Click on any card below to begin. +
+Visualize how length affects a pendulum's period.
+ + + +Launch a projectile and observe its real‐time trajectory.
+ + + +See a block slide down and discover acceleration on a ramp.
+ + + +Set k and m, drag the mass, then watch it oscillate and view x(t).
+ + + +Build an RC circuit, adjust R, C, and V₀, and watch the capacitor charge in real time.
+ ++ Build a simple RC circuit: a battery \(V_0\), a resistor \(R\), and a capacitor \(C\). Adjust \(V_0\), \(R\), and \(C\), then click “Start” to watch the capacitor charge. Observe real‐time \(V_C(t)\), \(I(t)\), and a live graph of capacitor voltage over time. After \(5\tau\), a quiz appears. +
++ Time: 0.00 s +
++ Voltage \(V_C\): 0.00 V +
++ Current \(I\): 0.00 A +
++ Time Constant \(\tau\): 0.01 s +
++ Drag the block to any starting point, adjust angle, friction, and mass. + Click “Launch” to let it slide, watch live readouts, energy bars, force vectors, and a real-time graph. + Once it reaches the bottom, a short quiz will appear. +
++ Distance ↓: 0.00 m +
++ Speed: 0.00 m/s +
++ Accel: 0.00 m/s² +
++ PE: 0.00 J +
++ KE: 0.00 J +
+Potential Energy
+Kinetic Energy
++ Drag the mass horizontally to set its initial displacement. Adjust the spring constant \(k\) and mass \(m\). + Click “Start” to see the mass oscillate. A live Position vs. Time graph and numeric readouts will update in real time. + After one full oscillation, a post-lab quiz will appear. +
++ Time: 0.00 s +
++ Position: 0.00 m +
++ Velocity: 0.00 m/s +
++ Acceleration: 0.00 m/s² +
++ Potential (½kx²): 0.00 J +
++ Kinetic (½mv²): 0.00 J +
+Potential Energy
+Kinetic Energy
++ Follow the animated tutorial above, then start the simulation. Watch the pendulum swing and see its trail. Numerical readouts appear at top‐left. +
+
+ Click‐and‐drag from the launch pad (white circle) at left to set speed and angle.
+
+ Release to fire. Adjust gravity or wind on the fly.
+ Watch the path and vectors, and see “y vs x” plotted live.
+