An immersive, web-based 3D laboratory and simulation engine for quantum physics, general relativity, astrophysics, chemistry, genetics, cytology, robotics, and interactive science games.
๐ Launch Live Lab | ๐ฆ GitHub Repository
Science Lab 3D is a unified scientific computation and 3D visualization suite engineered entirely with client-side WebGL, Three.js, and pure JavaScript. It requires zero build pipelines, zero backend dependencies, and deploys directly to GitHub Pages.
- โ Complete 118 Elements Table in 3D: Period/Group matrix layout, Lanthanides & Actinides, interactive cards with atomic mass, electron configurations, discovery history, and applications.
- โ
3D Bohr Atomic Shell & Orbital Simulator: Nucleus with protons/neutrons, electron shells (
$K, L, M, N...$ ), and probability orbital clouds. - โ
3D Molecular Builder: Interactive Ball-and-Stick and Space-Filling representations of Water (
$H_2O$ ), Carbon Dioxide ($CO_2$ ), Methane ($CH_4$ ), Ethanol ($C_2H_5OH$ ), Benzene ($C_6H_6$ ), Caffeine ($C_8H_{10}N_4O_2$ ), Aspirin ($C_9H_8O_4$ ), and Glucose ($C_6H_{12}O_6$ ). - โ
Chemical Reaction Engine: Live exothermic/endothermic heat gauge and enthalpy (
$\Delta H$ ) calculations for Hydrogen Combustion, Photosynthesis, Neutralization, and Thermite reactions. - โ
3D Crystal Lattices: FCC (Face-Centered Cubic), BCC (Body-Centered Cubic), Simple Cubic, Diamond Cubic, Rock Salt (
$NaCl$ ), and Graphene sheets.
- โ Solar System Simulation: Sun with glowing corona and flare particles, 8 planets with axial tilts and Keplerian orbital velocities.
- โ Planetary Features: Saturn's rings with ring geometry, Earth Moon, and Jovian Galilean moons.
- โ Main Asteroid Belt: 3,000+ individual asteroid particle bodies orbiting between Mars and Jupiter.
- โ Deep Space Missions: Voyager 1 interstellar hyperbolic trajectory and James Webb Space Telescope (JWST) Sun-Earth L2 halo orbit.
- โ DNA/RNA Double Helix: High-precision phosphate-sugar backbone ribbons and base-pair rungs (Adenine, Thymine, Guanine, Cytosine, Uracil).
- โ CRISPR-Cas9 Genome Surgery: 3D Cas9 endonuclease enzyme complexed with sgRNA guide executing target DNA cleavage (DSB).
- โ Transcription & Translation: Ribosome protein factory docking tRNA to assemble polypeptide chains.
- โ Protein Folding: Secondary alpha-helix and beta-sheet folding into tertiary globular structures.
- โ 5 Viral Capsids: T4 Bacteriophage (icosahedral head, sheath, and tail fibers), SARS-CoV-2 (spike glycoproteins), Influenza, HIV, and Ebola filovirus ribbon.
- โ Animal & Plant Cells: Exploded 3D view of plasma membrane, nucleus, mitochondria, chloroplasts, and vacuoles.
- โ
Human Neuron & Action Potential Engine: Soma, dendrites, myelinated axon with Nodes of Ranvier, synaptic terminal bouton, and live membrane potential graph (
$-70\text{ mV}$ resting to$+30\text{ mV}$ depolarization). - โ Cellular Division: Mitosis cycle stage animator (Prophase, Metaphase, Anaphase, Telophase, Cytokinesis).
-
Double Slit & Quantum Eraser: Wave-particle duality interference
$I(\theta) = I_0 \cos^2(\pi d \sin\theta / \lambda)$ with observer detector collapse. -
Black Hole Gravitational Lensing (GR): Schwarzschild event horizon (
$r_s = 2GM/c^2$ ), photon sphere ($r = 1.5 r_s$ ), Doppler-beamed accretion disk. -
Photoelectric Effect: Planck photon quanta
$E = h\nu$ , cathode work function$\Phi$ , and stopping potential$V_0$ . -
Nuclear Fission Chain Reaction: Slow neutron capture in U-235 yielding Barium + Krypton + 3 fast neutrons with adjustable control rods (
$k_{eff}$ ). - Superconductivity & Meissner Effect: Quantum magnetic levitation and flux vortex pinning of Type-II superconductor over magnetic track.
-
Millikan Oil Drop Experiment: Charged aerosol balancing electric force
$qE$ against gravity$mg$ to determine elementary charge$e$ . -
Lorenz Strange Attractor: Solving chaotic 3D non-linear differential equations (
$\sigma, \rho, \beta$ ) with live butterfly attractor ribbon. - Chaotic Double Pendulum: Coupled Lagrangian non-linear mechanics with Lyapunov divergence trails.
-
Lorentz Force Magnetic Bottle: Charged particles
$\mathbf{F} = q(\mathbf{E} + \mathbf{v} \times \mathbf{B})$ trapped in magnetic mirror pinch coils. -
Special Relativity: Relativistic speed slider
$v/c$ , Lorentz factor$\gamma$ , time dilation clock comparison, and length contraction. - Michelson-Morley Interferometer: Coherent laser beam splitter, perpendicular arms, and concentric interference fringe rings.
-
Optics & Prism Chromatic Dispersion: Snell's Law with Cauchy dispersion
$n(\lambda)$ splitting white light into continuous spectrum. -
Doppler Effect & Supersonic Mach Cone: Wavefront compression at
$M < 1$ ,$M = 1$ , and supersonic shockwave angle$\sin\mu = 1/M$ . - Fluid Dynamics: Kรกrmรกn vortex shedding street around cylindrical obstacle based on Reynolds number.
-
Thermodynamics: Maxwell-Boltzmann molecular velocity distribution
$f(v)$ in gas chamber with movable piston. -
Standing Waves & Harmonics: String vibration harmonic modes (
$n=1, 2, 3, 4, 5$ ) with nodes and antinodes.
- โ 6-DOF Industrial Robot Arm: 5-axis articulated arm with Forward & Inverse Kinematics teleoperation and automated Pick-and-Place demo.
- โ
PID Self-Balancing Inverted Pendulum: Real-time PID tuning (
$K_p, K_i, K_d$ ) with external disturbance impulse testing. - โ Quadcopter Drone Physics: 4-rotor aerodynamic thrust, pitch/roll/yaw stabilization.
- โ Hardware Components: DC motors, Stepper, Servo, Brushless motors, Arduino, Raspberry Pi, ESP32, and PLCs.
- ๐ Asteroid Kinetic Deflector: 3D space combat fighter defending Earth against incoming kinetic asteroids and orbital debris. Controls: WASD/Arrows to move, Spacebar to shoot.
- โ๏ธ Quantum Tunneling Sorter: Tune particle wave energy and barrier potentials to achieve quantum transmission without reflection.
- ๐งช Chemical Alchemy Molecule Crafter: Fast-paced chemistry puzzle collecting elements to assemble target molecules against a countdown timer.
- ๐ช Gravitational Slingshot Orbital Insertion: Launch satellite probes using lunar and planetary gravity assists to achieve stable target orbits.
- Web Audio FX Synthesizer: Pure client-side audio oscillator/noise synthesis for laser blasts, explosions, clicks, and quantum pings (with mute toggle).
- HD Scientific Snapshot Exporter: Capture high-resolution PNG screenshots with telemetry watermarks.
- Global Command & Search Palette: Autocomplete indexing all 118 elements, 18 experiments, planets, and games.
- Live HUD Telemetry: Real-time FPS monitor, simulation time, active particle count, and execution status.
The project is structured as 3 core self-contained files:
science/
โโโ index.html # Full UI layout & semantic containers
โโโ style.css # Cybernetic glassmorphism theme & HUD styles
โโโ script.js # Master 3D simulation engine & games
Deploying to GitHub Pages:
- Push changes to
mainbranch:git add . git commit -m "Deploy Science Lab 3D v2.5" git push origin main
- Enable in GitHub Repository Settings โ Pages โ Source:
mainbranch /root. - Access live at
https://rudra496.github.io/science/.
Rudra Sarker
- ๐ผ LinkedIn: linkedin.com/in/rudrasarker
- ๐ป GitHub: github.com/rudra496
- ๐ Portfolio: rudra496.github.io/site
- โ๏ธ Contact: rudrasarker130@gmail.com
Science Lab 3D โข Engineered for Science, Physics, & Autonomous Research
ยฉ 2026 Rudra Sarker โข MIT License