Skip to content

Latest commit

ย 

History

85 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฌ Science Lab 3D โ€” Advanced Interactive Scientific Simulation Engine (v2.5)

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


Three.js r128 License Status Zero Dependency


๐ŸŒŸ Overview & Key Capabilities

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.


โš›๏ธ 1. Chemistry & Molecular Forge

  • โœ… 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.

๐Ÿช 2. Astrophysics & Orbital Mechanics

  • โœ… 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.

๐Ÿงฌ 3. Genetics & Molecular Biology

  • โœ… 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.

๐Ÿ”ฌ 4. Cytology & Neurobiology

  • โœ… 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).

๐Ÿ’ก 5. Physics & Quantum Laboratory (18 Verified Experiments)

  1. Double Slit & Quantum Eraser: Wave-particle duality interference $I(\theta) = I_0 \cos^2(\pi d \sin\theta / \lambda)$ with observer detector collapse.
  2. Black Hole Gravitational Lensing (GR): Schwarzschild event horizon ($r_s = 2GM/c^2$), photon sphere ($r = 1.5 r_s$), Doppler-beamed accretion disk.
  3. Photoelectric Effect: Planck photon quanta $E = h\nu$, cathode work function $\Phi$, and stopping potential $V_0$.
  4. Nuclear Fission Chain Reaction: Slow neutron capture in U-235 yielding Barium + Krypton + 3 fast neutrons with adjustable control rods ($k_{eff}$).
  5. Superconductivity & Meissner Effect: Quantum magnetic levitation and flux vortex pinning of Type-II superconductor over magnetic track.
  6. Millikan Oil Drop Experiment: Charged aerosol balancing electric force $qE$ against gravity $mg$ to determine elementary charge $e$.
  7. Lorenz Strange Attractor: Solving chaotic 3D non-linear differential equations ($\sigma, \rho, \beta$) with live butterfly attractor ribbon.
  8. Chaotic Double Pendulum: Coupled Lagrangian non-linear mechanics with Lyapunov divergence trails.
  9. Lorentz Force Magnetic Bottle: Charged particles $\mathbf{F} = q(\mathbf{E} + \mathbf{v} \times \mathbf{B})$ trapped in magnetic mirror pinch coils.
  10. Special Relativity: Relativistic speed slider $v/c$, Lorentz factor $\gamma$, time dilation clock comparison, and length contraction.
  11. Michelson-Morley Interferometer: Coherent laser beam splitter, perpendicular arms, and concentric interference fringe rings.
  12. Optics & Prism Chromatic Dispersion: Snell's Law with Cauchy dispersion $n(\lambda)$ splitting white light into continuous spectrum.
  13. Doppler Effect & Supersonic Mach Cone: Wavefront compression at $M < 1$, $M = 1$, and supersonic shockwave angle $\sin\mu = 1/M$.
  14. Fluid Dynamics: Kรกrmรกn vortex shedding street around cylindrical obstacle based on Reynolds number.
  15. Thermodynamics: Maxwell-Boltzmann molecular velocity distribution $f(v)$ in gas chamber with movable piston.
  16. Standing Waves & Harmonics: String vibration harmonic modes ($n=1, 2, 3, 4, 5$) with nodes and antinodes.

๐Ÿค– 6. Robotics & Cybernetics

  • โœ… 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.

๐ŸŽฎ 7. 3D Science Arcade (4 Games)

  1. ๐Ÿš€ Asteroid Kinetic Deflector: 3D space combat fighter defending Earth against incoming kinetic asteroids and orbital debris. Controls: WASD/Arrows to move, Spacebar to shoot.
  2. โš›๏ธ Quantum Tunneling Sorter: Tune particle wave energy and barrier potentials to achieve quantum transmission without reflection.
  3. ๐Ÿงช Chemical Alchemy Molecule Crafter: Fast-paced chemistry puzzle collecting elements to assemble target molecules against a countdown timer.
  4. ๐Ÿช Gravitational Slingshot Orbital Insertion: Launch satellite probes using lunar and planetary gravity assists to achieve stable target orbits.

๐Ÿ› ๏ธ Lab Utilities & Technical Architecture

  • 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.

๐Ÿš€ Deployment (GitHub Pages)

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:

  1. Push changes to main branch:
    git add .
    git commit -m "Deploy Science Lab 3D v2.5"
    git push origin main
  2. Enable in GitHub Repository Settings โ†’ Pages โ†’ Source: main branch / root.
  3. Access live at https://rudra496.github.io/science/.

๐Ÿ‘จโ€๐Ÿ’ป Author

Rudra Sarker


Science Lab 3D โ€ข Engineered for Science, Physics, & Autonomous Research
ยฉ 2026 Rudra Sarker โ€ข MIT License

About

๐Ÿ”ฌ Interactive science experiments and research simulations โ€” physics, chemistry, biology with 3D visualizations and real-time data analysis

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages