No description
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| README.md | ||
Aether Vision
Interactive electromagnetic field visualization based on Tesla, Steinmetz, and Dollard's frameworks.
Build & Run
zig build run # Run visualization
zig build test # Run tests
Requires Zig 0.14+ and raylib (fetched automatically).
Frameworks
Tesla — Longitudinal waves, aether medium, magnifying transmitter, quarter-wave resonance
Steinmetz — Phasors, j-operator, complex power, hysteresis, AC analysis
Dollard — Four-quadrant electricity (+1,+j,-1,-j), counterspace geometry, LMD waves
Visualizations
| Mode | Description |
|---|---|
| Aether Waves | Longitudinal compression/rarefaction |
| Standing Waves | Quarter-wave resonance patterns |
| Magnifying TX | 3-coil Tesla transmitter system |
| Phasor Diagram | Rotating vectors, three-phase |
| Four Quadrant | Energy flow through ±1, ±j |
| Counterspace | Reciprocal geometry (l⁻¹, l⁻², l⁻³) |
| TEM vs LMD | Transverse vs longitudinal wave comparison |
| Golden Dragon | φ-ratio discharge fractals |
| 3D Tesla Coil | Interactive field visualization |
| FDTD Simulation | Maxwell equation solver |
| + 15 more modes | Schumann, FFT, coupling, corona... |
Controls
| Key | Action |
|---|---|
Tab |
Open menu |
[ ] |
Previous/next mode |
↑ ↓ |
Adjust frequency |
← → |
Adjust amplitude |
L/T/S/M |
Wave type (longitudinal/transverse/standing/LMD) |
V/D/E |
Toggle vectors/density/energy bars |
| Right-drag | Rotate 3D camera |
| Scroll | Zoom |
Module Structure
src/
├── lib.zig # Public API
├── math/ # Vec2, Vec3, Complex, Quaternion, Versor
├── physics/ # Constants, FDTD, Biot-Savart, materials
├── coils/ # Tesla coil calculations
├── visualization/ # All rendering modules
├── analysis/ # FFT
└── ui/ # Menu, drawing utilities
Library Usage
const aether = @import("aether-vision");
// Math
const v = aether.Vec3.init(1, 2, 3);
const phasor = aether.Complex.fromPolar(1.0, std.math.pi / 4);
// Physics
const freq = aether.physics.resonantFrequency(1e-3, 1e-9);
const loop = aether.CurrentLoop.init(center, axis, 0.1, 1.0);
const B = loop.fieldAt(point);
// Coils
var tx = aether.MagnifyingTransmitter.init();
const voltage = tx.getVoltage(0.5);
References
- Tesla: Patents 454,622 / 593,138 / 1,119,732
- Steinmetz: "Theory and Calculation of AC Phenomena" (1897)
- Dollard: "Four Quadrant Representation of Electricity" (2013)