vlabs

Getting Started

Video tutorial

This screencast walks through the full process of adding a new experiment to VLabs — from creating the folder structure through to seeing it live in the browser.

Before watching

Read the Quickstart guide first to understand the concepts. The video demonstrates the same flow in real time.

How to add an experiment

What the video covers

  1. Creating the experiment folder — folder structure under src/labs/semesters/ with all six content sections
  2. Writing content sections — aim, theory, apparatus, procedure, observations, and conclusion files
  3. Defining the circuit — using the CB fluent builder or manual Circuit objects
  4. Registering in the catalog — adding the experiment to semesters/catalog.ts
  5. Testing locally — verifying the experiment appears in the explore page and renders correctly
Tip: Use AI to speed up

You can paste src/labs/COMPONENTS.md and src/labs/SKILLS.md into Claude or another LLM and ask it to generate the entire experiment folder structure. Then just review, adjust, and register.