Article Overview

Runge Kutta vs. Euler

Learn with two real world examples how the proper selection of time steps will influence the result of a numerical simulation. Learn about local and global simulation errors and how too small timesteps will hurt your simulation.

The Magnetic Pendulum

Learn how to simulate the complex motion of a pendulum under the influence of three magnets. See how chaotic behavior emerges as a result of the different forces acting on the pendulum. The Article comes with the complete source code of the simulation.

World of Wator

Learn about predator-prey interactions by exploring the hypothetical toroidal Planet Wa-Tor whose surface is entirely covered with water, occupied by two species: fish and sharks. The sharks are the predators. They eat the fish...

Simulating Evolution

The simulation demonstrates the evolution of hunting behavior in an predator/prey situation. The simulation domain represents a small patch of a lake bottom. Microbes move across the screen living off a supply of bacteria.

Barnes-Hut Galaxy Simulator

A region of space contains the number of N bodies. Each body has its own potential and a resulting force field. This could be charges causing an electrical field or planets in space. The potential of the bodies can be summed up...

Rendering a Galaxy

Learn how to set up a realistically looking spiral galaxy using basic astronomical and physical principles. The scientific background is explained briefly but only to the extend needed to understand the simulation.

Little Boy

Read about how you can simulate the unctontrolled nuclear chain reaction inside the worlds first atomic bomb. The simulation is using nothing more than simple geometry to illustrate basic concepts of nuclear weapon design.

Damped harmonic oscillator

The damped harmonic oscillator is a classic problem in mechanics. It describes the movement of a mechanical oscillator under the influence of a restoring force and friction. This article deals with the derivation of the oscillation equation for the damped harmonic oscillator.

Tides explained

Specifically on Earth the term tide is used to describe the rise and fall of sea levels caused mainly by the combined effects of the gravitational forces exerted by the Moon and the Sun. This is a bit misleading since focusing on the sea level is ignoring...

Conway's Game of Life

The Game of Life is a cellular automaton devised by the british mathematician John Horton Conway in 1970. It was popularised by Martin Gardner in his October 1970 column of "Mathematical Games" in the "Scientific American" magazine.

Untracked Astrophotography

Deep-Sky astrophotography deals with the photography of stellar bodies outside of our solar system such as galaxies, planetary nebulae and globular clusters. Getting into deep-sky astrophotography doesn't have to be expensive.

Making videos of the night sky with Stellarium

Stellarium is an open source astronomy software for rendering the night sky. This article provides a script that can automate the process of creating videos of the night sky with this software.

Stellarium scripting mit Typescript

Stellarium has a very powerfull scripting engine based on ECMA script. This articles describes the benefits of using typescript for creating scripts that are easier to read and work with.

Space exploration image gallery

This is a collection of images obtained by NASA or ESA space exploration missions. Most of the images were also featured as NASA's the Astronomy Picture of the Day (APOD). The page exists because I often found interesting images...


Many applications require the parsing of mathematical expressions. The main objective of this library is to provide a fast and easy way of doing this. muParser is an extensible high performance math expression parser library written in C++.


muparserx is a mathematical expression parser with support for arrays, matrices and strings. It was originally based on the original muparser engine but has since evolved into a standalone project with a completely new parsing engine.


muparserSSE is an mathematical expression parser able to compile a given mathematical expression into machine code for Intel processors at runtime. It will take an expression as well as variable definitions as its input and return the pointer...