OpenFunscripter / OFS

A tool to create funscripts
GNU General Public License v3.0
90 stars 38 forks source link

Feature request: Line simplification algorithm #58

Closed NodudeWasTaken closed 2 years ago

NodudeWasTaken commented 2 years ago

Hello Gagax!

Sometimes when i view scripts, i find that it contains way too many unused points which could be deleted. This is why i want OFS to implement the Ramer–Douglas–Peucker algorithm (or something similar), which seeks to eliminate points if their "curve difference" is less than some epsilon value.

Thanks

OpenFunscripter commented 2 years ago

Uhm this already exists 🤨 To be fair it's very hidden in the View->Special functions window.