Skip to content

Releases: Nikish-codes/SpringSimulation-With-Raylib

v1.0.0 - Initial Release

Choose a tag to compare

@Nikish-codes Nikish-codes released this 02 Jan 22:58

Release Notes

v1.0.0 - Initial Release

Release Date: January 3, 2026

Summary

First public release of Spring Mass Simulation, a real-time physics visualization tool built with C and Raylib.


Downloads

Platform File Size Requirements
Linux spring_simulation ~16 KB GNU Linux
Windows (64-bit) spring_simulation.exe ~2 MB Windows 10/11
Source Code Source code (zip) ~50 KB C compiler, Raylib
Source Code Source code (tar.gz) ~50 KB C compiler, Raylib

Features

Core Functionality

  • Real-time spring visualization with dynamic coil deformation
  • Zigzag spring pattern using perpendicular vector calculations
  • 120 FPS smooth animation
  • Automatic mass motion demonstration

Visualization

  • White zigzag spring connecting anchor to mass
  • Green rectangular mass block
  • Gray floor surface
  • Real-time FPS counter
  • Title display

Technical

  • Cross-platform source code (Windows, Linux, macOS)
  • Static linking for Windows executable (no dependencies)
  • Configurable simulation parameters
  • Clean, documented codebase

Installation

Windows Users

  1. Download spring_simulation.exe
  2. Double-click to run
  3. Close window to exit

No installation or additional software required.

Building from Source

Linux:

gcc spring.c -o spring_simulation -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
./spring_simulation

macOS:

gcc spring.c -o spring_simulation -lraylib -framework Cocoa -framework IOKit -framework OpenGL
./spring_simulation

Windows (MinGW):

gcc spring.c -o spring_simulation.exe -lraylib -lopengl32 -lgdi32 -lwinmm
spring_simulation.exe

System Requirements

Minimum

  • OS: Windows 10, Linux (kernel 4.x+), macOS 10.13+
  • CPU: x86_64 processor
  • RAM: 64 MB
  • GPU: OpenGL 3.3 compatible
  • Storage: 5 MB

Recommended

  • OS: Windows 11, Ubuntu 22.04+, macOS 12+
  • CPU: Multi-core processor
  • RAM: 128 MB+
  • GPU: Dedicated graphics card

Configuration Options

Parameter Default Description
FPS 120 Target frame rate
WIDTH 960 Window width
HEIGHT 680 Window height
SPRING_LEN 8 Coil segment count
SPRING_THICKNESS 2 Line thickness
SPRING_ELASTICITY 60 Coil width
MASS_LENGTH 100 Mass block size

Known Limitations

  • Mass moves at constant velocity (physics simulation not yet implemented)
  • No user interaction controls
  • Single spring-mass configuration only
  • No pause or reset functionality

Planned for Future Releases

  • Physics-based spring motion using Hooke's Law
  • Interactive mass manipulation
  • Damping and friction effects
  • Multiple spring-mass systems
  • UI parameter controls
  • Force vector visualization
  • Pendulum mode
  • Simulation recording

Changelog

v1.0.0 (2026-01-03)
-------------------
[Added] Initial project structure
[Added] Spring rendering with zigzag pattern
[Added] Mass and floor visualization
[Added] Continuous mass motion
[Added] FPS counter display
[Added] Cross-platform build support
[Added] Windows executable build
[Added] README documentation

Checksums

Verify your download integrity:

SHA256 (spring_simulation.exe) = [checksum will be added on release]
SHA256 (source.zip) = [checksum will be added on release]
SHA256 (source.tar.gz) = [checksum will be added on release]

Bug Reports

Found a bug? Please open an issue with:

  1. Operating system and version
  2. Steps to reproduce
  3. Expected behavior
  4. Actual behavior
  5. Screenshots (if applicable)

Credits

  • Built with Raylib
  • Raylib is licensed under the zlib/libpng license

License

This project is provided as-is for educational purposes.