MENU

Fun & Interesting

Teaching myself C so I can build a particle simulation

Gradience 386,560 lượt xem 11 months ago
Video Not Working? Fix It Now

Pezzza's video: https://www.youtube.com/watch?v=lS_qeBy3aQI
Verlet Algorithm: https://www.algorithm-archive.org/contents/verlet_integration/verlet_integration.html
Verlet Integration: http://physics.drexel.edu/~valliere/PHYS305/Diff_Eq_Integrators/Verlet_Methods/Diffrntleqn3.pdf
Icospheres: https://en.wikipedia.org/wiki/Geodesic_polyhedron

This codebase is a mess but if you're curious about the implementation or what libraries I used:
C Version :: https://github.com/marichardson137/VerletIntegration
Python Version :: https://github.com/marichardson137/PyOpenGL

Thanks for watching!

Timestamps
0:00 Introduction
0:25 Python Version
1:17 Verlet Integration
2:37 Implementation
3:29 Collisions
4:17 Issues
4:55 Optimization 1
5:43 Optimization 2
6:45 Optimization 3
7:45 Coloring Particles
8:52 Linking Particles
11:24 Outro

Music sourced from Epidemic Sound
Sonar - David Celeste
Radiance - Amber Glow
Watercolor Motion II - Trevor Kowalski
A Gentle Pulse - Imprismed

Comment