Skip to content

Sharlock93/cloth_simulation_spring_mass

Repository files navigation

README

This is a simple spring-mass-damper system and simulation, all of the relavent code is in main.c nucklear is used for the UI and glfw is used to handle windowing, glew is used to load all the OpenGL functions. stb_image and stb_image_write are used for image reading and image writing, each frame when recording a video will be written to a file and then combined in a script using ffmpeg

Compiling is staright forward, just compile the main.c file, this is a single file project

Screenshot Cloth on a Sphere

About

A Spring Mass system to simulate some cloth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages