{
  "id": "slits",
  "title": "Double-Slit Light Field",
  "category": "Physics",
  "slug": "double-slit-light-field",
  "subtitle": "A 3D wavefront experiment with adjustable slit spacing",
  "description": "Young interference produces bright and dark fringes from the path difference of coherent light.",
  "params": [
    {
      "id": "wavelength",
      "label": "Wavelength",
      "min": 380,
      "max": 740,
      "step": 10,
      "value": 550,
      "unit": "nm"
    },
    {
      "id": "length",
      "label": "Screen distance",
      "min": 0.5,
      "max": 5,
      "step": 0.1,
      "value": 2,
      "unit": "m"
    },
    {
      "id": "separation",
      "label": "Slit spacing",
      "min": 0.1,
      "max": 1,
      "step": 0.05,
      "value": 0.35,
      "unit": "mm"
    },
    {
      "id": "contrast",
      "label": "Coherence",
      "min": 0.1,
      "max": 1,
      "step": 0.05,
      "value": 0.85,
      "unit": ""
    }
  ],
  "output": "Fringe separation",
  "outputUnit": "mm",
  "formula": "Δy = λ L / d",
  "notes": "Far-field small-angle approximation. Coherence changes contrast, not fringe spacing.",
  "seed": "1624315829935859077",
  "batchSeed": "2674396715534941479",
  "difficulty": "GCSE–undergraduate",
  "language": "en-GB",
  "technology": "offline WebGL2 ES modules",
  "integration": {
    "urlPath": "/physics/double-slit-light-field/",
    "entry": "index.html",
    "assets": [
      "assets/apparatus.glb"
    ],
    "seoDescription": "Young interference produces bright and dark fringes from the path difference of coherent light.",
    "keywords": [
      "Physics",
      "slits",
      "3D",
      "interactive",
      "virtual lab"
    ]
  },
  "challengeGenerator": {
    "total": 10,
    "numeric": 6,
    "multipleChoice": 4,
    "seed": "cryptographically random session + original 64-bit lab seed",
    "grading": "formula-derived answers, 2.5% relative tolerance with 0.015 absolute floor; -1 exact for unreachable routes",
    "hints": true,
    "explanations": true,
    "regenerate": true
  },
  "features": {
    "webgl2": true,
    "webgl2ShaderLighting": true,
    "procedural3D": true,
    "localGLB": true,
    "orbitZoom": true,
    "touchAndKeyboard": true,
    "drag3DProbe": true,
    "liveCalculatedReadout": true,
    "parameterResponseGraph": true,
    "pausePlaySpeedReset": true,
    "csvExport": true,
    "screenshot": true
  },
  "assetGeneration": {
    "source": "trimesh Python procedural modeling",
    "nativeThreeR160": false,
    "authoredInBlender": false,
    "assetFile": "assets/apparatus.glb",
    "format": "binary glTF 2.0"
  }
}
