https://github.com/jorgemunozl/phisy
A set of physics/mathematics scripts for different concepts.
https://github.com/jorgemunozl/phisy
mathematics nn numpy physics python scikit-learn sympy
Last synced: 4 days ago
JSON representation
A set of physics/mathematics scripts for different concepts.
- Host: GitHub
- URL: https://github.com/jorgemunozl/phisy
- Owner: jorgemunozl
- Created: 2025-11-30T00:07:25.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2026-06-23T15:23:44.000Z (14 days ago)
- Last Synced: 2026-06-23T17:22:15.946Z (14 days ago)
- Topics: mathematics, nn, numpy, physics, python, scikit-learn, sympy
- Language: Python
- Homepage:
- Size: 46.4 MB
- Stars: 13
- Watchers: 0
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Physi
Computational physics experiments β vector calculus, complex analysis, dynamical systems, and more.
---
## Gallery
π§² Stokes & Divergence Theorems
**Magnetic dipole field** β a quiver plot of **B** in the xz-plane, computed from the vector potential and verified against Stokes' theorem.

*Purely radial field, strongest at the poles, vanishing at the equator β classic dipolar morphology.*
**Wave function cross-sections** β slices through 3D quantum states reveal nodal surfaces and symmetry patterns.
*Left: xz-plane cut of the |n=6β© state. Right: 3D isosurface of the |3,2,0β© hydrogen orbital.*
π’ Complex Analysis
**CauchyβRiemann orthogonality** β level curves of the real and imaginary parts of an analytic function intersect at right angles everywhere.

**Conformal mapping** β the Joukowsky transform maps circles to airfoil-like curves.
*Left: sixth roots of -64 in the Argand plane. Right: images of circles under the Joukowsky map.*
π― Double Pendulum
**Chaotic trajectory** β the path of the second mass never closes, a signature of deterministic chaos.

π Brownian Motion
**3D random walk** β 10β΄ steps of a Wiener process in three dimensions.

π Coupled Oscillators
**Two masses, three springs** β normal modes and energy sloshing between the two bodies.

---
## Project structure
```
physi/
βββ images/ # README images & GIFs
βββ src/physi/
β βββ brownian/ # Brownian motion (1D, 2D, 3D)
β βββ coupled_mas/ # Coupled spring-mass system
β βββ double_pendulum/ # Manim double pendulum animation
β βββ magnetic_field/ # Magnetic field computation
β βββ vector_fields/ # Vector field visualization
β βββ curricular/
β β βββ mathematics_methods_lab_01/ # ODEs
β β βββ mathematics_methods_lab_03/ # Complex analysis, catenary, pendulum
β β βββ mm_lab_04/ # Stokes, divergence, magnetic potential
β βββ ... # DFT, KANs, Monte Carlo, optics, splines, wave functions
βββ pyproject.toml
```
---
Python Β· NumPy Β· SciPy Β· Matplotlib Β· SymPy Β· Manim Β· Typst