Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
0

A collision simulator using Verlet integration

A topic by ZhangYH created Jan 02, 2024 Views: 67
Viewing posts 1 to 1
(2 edits)


This is a 2D collision simulation program using the Verlet method. It can simulate collisions between small balls and also supports connectors. Users can set parameters such as stickiness, spring constant, damping, gravity field, and gravitational field. Real-time creation and deletion of objects and connections are possible, and there are multiple visualization modes

Compared to my previous rigid body simulation program using impulse method, this program performs better in stacking and multiple connection scenarios, making it more suitable for simulating fluids, bead strings, etc. However, this comes at a cost: the program cannot simulate scenarios involving elastic collisions, and its support for rigid bodies is limited (only using solid rods to connect spherical vertices, etc.).

Chinese and English are supported.

Link: https://zhangyh.itch.io/2d-verlet-simulation