DEV Community

Cover image for πŸŒ€ Simulating Time Loops in a Shed: A Spin-Biased FDTD Journey
Dan McCoy
Dan McCoy

Posted on

πŸŒ€ Simulating Time Loops in a Shed: A Spin-Biased FDTD Journey

Toroidal CTC sim is a Python-based wave simulation that models directional delay in a closed-loop waveguide.

It’s built to explore what happens when you drag a refractive index perturbation around a torusβ€”and how that messes with time-of-flight.

I’m not a physicist. I’m a shed enthusiast. But I wanted to see if I could build a desktop analogue for closed timelike curves (CTCs) using classical wave mechanics. Turns out, you can.


πŸ”§ What It Does

  • Simulates 1D FDTD wave propagation in a toroidal geometry
  • Applies a rotating index perturbation to bias wave direction
  • Measures arrival-time shifts across a sweep of angular velocities (Ξ©)
  • Outputs reproducible CSV timing data, plots, and animations
  • Explores delay-based logic, recursive computation, and metaphysical edge cases

πŸ“¦ Built for Reproducibility

  • All parameters in parameters.json
  • Results in timing_data.csv
  • Modular code, clean CLI, and full documentation
  • Zenodo DOI: 10.5281/zenodo.17592350

πŸ–ΌοΈ Visuals

figure1.png

Arrival time vs. Ξ© β€” directional delay emerges as the perturbation spins


πŸ”— Links


🧠 Why?

Because time loops are cool.

Because reproducible metaphysics is underrated.

Because sometimes the best place to simulate a paradox is a shed.


If you're on arXiv or ResearchGate and resonate with delay-based logic, wave simulations, or metaphysical modelingβ€”I'd love an endorsement or a nudge. This project is open-source, reproducible, and built for curious minds. Ping me or star the repo if it made you think weird thoughts.

🏷️ Tags

opensource #simulation #python #physics #fdtd #reproducibility #timetravel #computationalphysics


Top comments (0)