Young's double-slit interference
API · /diffraction-api
Diffraction & Interference API
Wave-optics diffraction and interference as an API, computed locally and deterministically. The double-slit endpoint applies Young's two-slit interference, d·sinθ = m·λ: from a wavelength and the slit separation it returns the angle of the m-th bright fringe and, given the screen distance, the fringe spacing Δy = λ·L/d and the position of any maximum — the classic experiment that proved light is a wave. The grating endpoint handles a diffraction grating, d·sinθ = m·λ with d = 1/lines: from a wavelength and the grating density (lines per millimetre) it gives the diffraction angle of each order and the maximum observable order ⌊d/λ⌋, flagging orders that do not exist. The single-slit endpoint computes single-slit diffraction, a·sinθ = m·λ for the dark fringes (minima), and, given the screen distance, the width of the bright central maximum 2·λ·L/a. Wavelengths may be entered in metres, nanometres or micrometres. Everything is computed locally and deterministically, so it is instant and private. Ideal for physics and optics-education tools, spectroscopy and grating design, laser and photonics apps, and laboratory software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is wave-optics diffraction; for thin-lens imaging use a lens API and for Snell's-law refraction use a Snell API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 81 ms
- Server probes · 24h
- Subscribers
- 3,907
- active
- Total calls
- 76
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 2,000 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- Young's double-slit fringe positions
- Single-slit diffraction minima
- JSON output for d, lambda, screen distance
- Community support
Starter
€5.00 /month
- 25,000 calls / month
- 5 requests / second
- Hard cap (429 above quota, no overage)
- All double-slit + single-slit endpoints
- Diffraction-grating angle solver
- Intensity-profile sampling arrays
- Email support
Pro
€15.00 /month
- 150,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- Multi-slit interference patterns
- Fringe-spacing + visibility metrics
- Batch wavelength sweeps
- Priority support
Mega
€45.00 /month
- 600,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- High-volume classroom + courseware quota
- Full intensity-profile resolution control
- Bulk batch interference computation
- SLA-backed priority support
Built by
Related APIs
Other APIs with overlapping tags.
Press Fit API
Interference (press and shrink) fit engineering maths as an API, computed locally and deterministically from the Lamé thick-wall equations — the contact-pressure, holding-capacity and assembly-temperature numbers a mechanical designer or machinist sizes a shaft-and-hub joint with. The pressure endpoint gives the contact pressure that builds at the interface from the diametral interference, the shaft and hub diameters and the elastic modulus, plus the tensile hoop stress at the hub bore — the highest stress in the joint, which a thin hub can split if it exceeds the yield: a 50 mm solid steel shaft in a 100 mm hub with 0.05 mm interference makes about 75 MPa of contact pressure and 125 MPa of bore hoop stress, and doubling the interference doubles the pressure. The holding endpoint turns that pressure into the axial push-out force and the transmissible torque through the friction at the interface (force = pressure × contact area × friction, torque = force × shaft radius), the figures that decide whether the joint slips under load. The assembly-temperature endpoint gives the heating (hub) or cooling (shaft) temperature change for a shrink fit — ΔT = (interference + clearance) ÷ (α × diameter) — so the part slides on freely and grips as it returns to temperature. Everything is computed locally and deterministically, so it is instant and private. Ideal for mechanical-design and machine-building tools, manufacturing and CAD utilities, and engineering calculators. Pure local computation — no key, no third-party service, instant. Same-material Lamé estimates — verify against the material yield with a safety factor. 3 compute endpoints. For thin-wall pressure-vessel stress use a pressure-vessel API.
api.oanor.com/pressfit-api
Isotopes API
Atomic isotope reference data as an API, built on the NIST Atomic Weights and Isotopic Compositions. For every known nuclide: its element (atomic number Z and symbol), mass number, relative atomic mass, natural isotopic composition (abundance) and the element's standard atomic weight. Look an isotope up by label (C-12, U-238) or by symbol + mass, list every isotope of an element, rank isotopes by mass or natural abundance, or search. A precise physics and chemistry reference for science, education, lab and engineering apps. Distinct from element-level data.
api.oanor.com/isotopes-api
Hot Air Balloon Lift API
Hot-air-balloon lift maths as an API, computed locally and deterministically — the thermal-lift, envelope-temperature and air-density numbers a balloon pilot, designer or physics teacher works a flight out with. The lift endpoint gives the buoyant lift from heating the air: gross lift = envelope volume × (outside air density − inside air density), the densities from the ideal-gas law — a 2,500 m³ envelope at 100 °C on a 15 °C day lifts about 698 kg gross, from which you subtract the envelope, basket, burner and fuel for the payload, and the hotter the air and colder the day the more it lifts. The required-temp endpoint inverts it: to carry a target lift the inside air must reach a particular density and so a particular temperature, with a check that it stays under the ~120 °C that nylon envelopes can take — the everyday pre-flight question of whether the balloon can lift today's crew and fuel. The air-density endpoint gives the moist-air density ρ = (P − 0.378·Pv) ÷ (R·T), and explains the counter-intuitive fact that humid air is LESS dense than dry air, slightly cutting the lift. Everything is computed locally and deterministically, so it is instant and private. Ideal for ballooning and aviation tools, STEM and physics-education apps, and buoyancy calculators. Pure local computation — no key, no third-party service, instant. Idealised dry-lift model. 3 compute endpoints. For Archimedes flotation in water use a buoyancy API; for party-balloon helium lift a balloon API.
api.oanor.com/hotairballoon-api
Vacuum Technology API
Vacuum-technology maths as an API, computed locally and deterministically — the pump-down, boiling and pressure numbers a lab tech, process engineer or vacuum hobbyist works to. The pumpdown endpoint gives the ideal time to evacuate a chamber, t = (volume ÷ pump speed) × ln(start ÷ target pressure) — a 10-litre chamber on a 5 L/s pump drops from 1000 to 1 mbar in about 14 seconds in theory, though outgassing and falling pump speed stretch the real low-pressure stage. The boiling-point endpoint gives the temperature water boils at under reduced pressure from the Antoine equation: about 100 °C at sea level, but only ~52 °C at 100 mbar and ~46 °C at 100 mbar — the physics behind vacuum degassing, freeze-drying and high-altitude cooking. The level endpoint converts a pressure across the common vacuum units (mbar, Torr/mmHg, Pa, kPa, inHg, atm, psi), reports the percent vacuum relative to atmosphere, and names the regime — rough, medium, high or ultra-high vacuum — so you know which pump and gauge the job needs. Everything is computed locally and deterministically, so it is instant and private. Ideal for vacuum-lab and process apps, pump-sizing and degassing tools, semiconductor and coating calculators, and physics teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Ideal estimates — real systems are slowed by outgassing and leaks.
api.oanor.com/vacuum-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Diffraction & Interference API?
What's the rate limit for Diffraction & Interference API?
How much does Diffraction & Interference API cost?
Can I cancel my subscription anytime?
Is Diffraction & Interference API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/diffraction-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/diffraction-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/diffraction-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/diffraction-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.