lagrange_simulation_mechanics Icon



simulations with Lagrangian method,both symbolic and by numeric deriv

Add a Review
5 Downloads (This Week)
Last Update:
Browse All Files
Windows BSD Linux



alleged to the video 'tutorial' "the Mechanics and its Simulation". Simulation with Lagrangian method, both symbolic, and by numerical derivation. All well-grouped in folders. there is also a 'review' in 3 demos of the Newtonian dynamics: mass-spring systems. most of progs are written in C, with use of SDL lib to display simple graphics and have real-time interactivity. As to programming complexity, it's very simple... this all aims at classical physics simulation in a simple but efficient way. The numeric stuff really just illustrate the use of a real little physics-engine aimed at articulated body simulation... that's the funnest part of it: but of course much more is coming. Also some examples in Game Maker and Matlab/Octave are coming soon.

link to Part 1 of the video where all method is thoroughly exmplained:

the part_2 shall explain numeric stuff, and some support for collisions and serious rigid bodies jointed.

lagrange_simulation_mechanics Web Site


  • a growing body of examples organised in folders with evocative titles.
  • Some of the most significant simulation examples, come in different versions as to the graphics... most are in simple SDL which looks like old QBASIC programs, some are still pure SDL but with more professional look, some are rude but solid 3D, some are professional OpenGL with textures also. There's stuff for all needs and tastes
  • lowest programming complexity: equals to a simple and naive SNAKE implementation in C
  • all is supported by a long video-tutorial which explaines analytical mechanics from the very basics, with practically no prerequisites, coming gradually up to applicable computational dynamics including *all* what is necessary to know to implement any good but not too nerdy dynamics simulation.
  • the examples with numeric derivation, actually are different programs made with the SEME VERY SIMPELE "physics engine" specialised in articulated mechanisms. maybe the simplest phyiscs-engine one can find around as to now, supporting anyway the simulation of articulated mechanisms.
  • most of the examples are single-source... so there is one single "main.c" file which can be easily compiled. there will be also an example with pure ascii-art graphics... for 2D simulations, ascii-art can be satisfactory in many cases... and avoids the retrocompatibility problem whos importance is often understimated.
  • there will be also a couple of examples in Game Maker and Matlab/Octave too

Update Notifications

Write a Review

User Reviews

Be the first to post a review of lagrange_simulation_mechanics!

Additional Project Details

Intended Audience

Agriculture, Automotive, Education, Engineering

User Interface


Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.