Phenom Equation 2.0

Run Settings
LanguageLua
Language Version
Run Command
-- derives an arc using a linear equation based on two points and an input distance -- the points themselves though are based on generalized pre-determined datasets so this all a bit redundant -- pointA/B: {minDist: number, maxDist: number, arc: number} -- distance: number local function getArc(pointA, pointB, distance) local slope = (pointA.arc - pointB.arc) / (pointB.maxDist - pointA.minDist) local intercept = pointA.arc - slope * points[1].minDist return slope * distance + intercept end
Editor Settings
Theme
Key bindings
Full width
Lines