Expand description
Relativistic physics module for Proof Engine.
Provides implementations of special and general relativistic effects for game rendering: Lorentz contraction, time dilation, Doppler shifts, gravitational lensing, black holes, wormholes, and spacetime diagrams.
Re-exports§
pub use lorentz::lorentz_factor;pub use lorentz::FourVector;pub use lorentz::LorentzBoost;pub use lorentz::LorentzContractor;pub use lorentz::LorentzRenderer;pub use lorentz::contract_length;pub use lorentz::proper_time;pub use lorentz::velocity_addition;pub use lorentz::rapidity;pub use lorentz::four_momentum;pub use lorentz::relativistic_energy;pub use lorentz::relativistic_momentum;pub use lorentz::invariant_mass;pub use time_dilation::time_dilation_factor;pub use time_dilation::DilatedClock;pub use time_dilation::TimeDilationRenderer;pub use time_dilation::ClockComparison;pub use time_dilation::twin_paradox;pub use time_dilation::muon_lifetime;pub use time_dilation::gravitational_time_dilation;pub use doppler::relativistic_doppler;pub use doppler::transverse_doppler;pub use doppler::wavelength_shift;pub use doppler::redshift_z;pub use doppler::color_from_wavelength;pub use doppler::doppler_color_shift;pub use doppler::DopplerRenderer;pub use doppler::cosmic_redshift;pub use searchlight::relativistic_beaming;pub use searchlight::aberration_angle;pub use searchlight::headlight_factor;pub use searchlight::SearchlightRenderer;pub use searchlight::apparent_brightness;pub use searchlight::solid_angle_transform;pub use terrell::terrell_rotation_angle;pub use terrell::apparent_position;pub use terrell::retarded_time;pub use terrell::TerellRenderer;pub use terrell::render_moving_cube;pub use terrell::finite_light_speed_positions;pub use lensing::deflection_angle;pub use lensing::einstein_radius;pub use lensing::lens_equation;pub use lensing::image_positions;pub use lensing::magnification;pub use lensing::LensingField;pub use lensing::apply_lensing;pub use lensing::LensingRenderer;pub use lensing::microlensing_lightcurve;pub use grav_time::schwarzschild_time_dilation;pub use grav_time::gravitational_redshift;pub use grav_time::proper_time_rate;pub use grav_time::gps_correction;pub use grav_time::GravTimeDilationField;pub use grav_time::GravTimeRenderer;pub use black_hole::schwarzschild_radius;pub use black_hole::photon_sphere_radius;pub use black_hole::isco_radius;pub use black_hole::BlackHole;pub use black_hole::ray_trace_schwarzschild;pub use black_hole::ray_deflection;pub use black_hole::AccretionDisk;pub use black_hole::disk_emission;pub use black_hole::render_black_hole;pub use black_hole::shadow_boundary;pub use black_hole::tidal_force;pub use black_hole::hawking_temperature;pub use black_hole::BlackHoleRenderer;pub use wormhole::EllisWormhole;pub use wormhole::proper_distance;pub use wormhole::embedding_diagram;pub use wormhole::ray_trace_wormhole;pub use wormhole::render_wormhole;pub use wormhole::WormholePortal;pub use wormhole::transform_through_wormhole;pub use wormhole::wormhole_stability;pub use wormhole::WormholeRenderer;pub use spacetime::MinkowskiDiagram;pub use spacetime::SpacetimeEvent;pub use spacetime::Worldline;pub use spacetime::light_cone;pub use spacetime::is_timelike;pub use spacetime::is_spacelike;pub use spacetime::is_lightlike;pub use spacetime::proper_time_along_worldline;pub use spacetime::boost_diagram;pub use spacetime::PenroseDiagram;pub use spacetime::penrose_transform;pub use spacetime::SpacetimeRenderer;pub use spacetime::causal_structure;
Modules§
- black_
hole - Black hole physics and rendering.
- doppler
- Relativistic Doppler effect.
- grav_
time - Gravitational time dilation.
- lensing
- Gravitational lensing.
- lorentz
- Lorentz contraction and transformations.
- searchlight
- Relativistic searchlight/beaming effect.
- spacetime
- Spacetime diagrams: Minkowski, Penrose, worldlines, causal structure.
- terrell
- Terrell rotation: apparent rotation of fast-moving objects due to finite light speed.
- time_
dilation - Time dilation effects for special and general relativity.
- wormhole
- Wormhole physics and rendering (Ellis/Morris-Thorne type).