impulse_engine

Nim port of a simple 2D physics engine

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License zlib
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install impulse_engine
choosenim install impulse_engine
git clone https://github.com/matkuki/Nim-Impulse-Engine

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
impulse_engine - - - - - - -

Source

Repository https://github.com/matkuki/Nim-Impulse-Engine
Homepage https://github.com/matkuki/Nim-Impulse-Engine
Registry Source nimble_official

README

Impulse Engine (Nim port)

Descripton:

Nim programming language port of Randy Gaul's Impulse engine (https://github.com/RandyGaul/ImpulseEngine).
Thanks to Randy for a great educational tool.

License:

zlib license (check the License.txt file for more details)

Used libraries:

  • nim-glfw (https://github.com/johnnovak/nim-glfw)
  • opengl (https://github.com/nim-lang/opengl)
  • libdrawtext (https://github.com/jtsiomb/libdrawtext)

Additional information: - For nim-glfw you will need the GLFW3 shared library (precompiled libraries can be found here: https://www.glfw.org/download.html) - For libdrawtext you will need to compile the shared library from source and add it to your path. Follow instructions on: https://github.com/jtsiomb/libdrawtext

Installation:

nimble
Installation can be done using the Nimble package manager from the shell/command line (Nimble has to be installed):

$ nimble install impulse_engine

This also compiles impulse engine and let's you run it with impulse_engine in a console.

Notes:

On Windows (tested with mingw64-32) it should work out of the box, provided you have everything needed for openGL.
On GNU/Linux (tested on Lubuntu) you will probably need to install libmesa, Xcursor and other X development packages, and I also had to create symlinks for libGL.so, libXi.so and libXxf86v.so.
If anyone is willing to try it on another platform, any feedback would be greatly appreciated.

Screenshot:

Video:

https://www.youtube.com/watch?v=AzA_owsZU04