Trebuchet Simulator

Try Now

Github repo

Part 1: Simulating a trebuchet

Basically, this app follows this paper:

Part 2: Optimizing a trebuchet using a CMAES variant

I stumbled into a much simpler variant of Covariance Matrix Adaptation Evolutionary Search while implementing this app, and figure I might as well document it here.

Basically, the most naive way to optimize a function is to repeatedly sample from a distrubution N(bestpoint,1)\mathcal{N} (best point, 1), updating best point whenever you find a new best point.

CMAES suggests repeatedly sampling

subdavis.com forrestli.com