algasami / raylib_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raylib Test

Target: gravity_sim

This is a simple gravitational field simulation that does not take general relativity into account. This simulation is capable of tracking 3,000 rigib bodies with their own gravitational field at 130~ FPS.

Keybindings

  • T: Slow motion. This decreases the error term O(dt*dt) by 2,500 times (since I use verlet integration.)
  • S: Spawn a rigid body with stochastic mass and radius.

Target: graph

This is a simple graph visualizer built on top of Boost Graph Library (BGL). Clicking on nodes enables "connection mode", when you can click on another node to connect them together. Purple nodes are articulation points, which, when broken, will split the graph into two disjoint graphs.

Keybindings

  • T: Zap the camera toward the first vertex.

About

License:GNU General Public License v3.0


Languages

Language:C 48.7%Language:C++ 41.8%Language:CMake 9.5%