[OFS Extension] StrokeLimit - Easily set max stroke speeds

StrokeLimit

Extension for OpenFunScripter by gayrobot


limitgif

What Is This?
I got tired of doing this manually and I couldn’t find anything that worked the way I wanted, so I decided to make my own tools.

Check out the companion extensions:
StrokeSpeed
StrokeSlide
StrokeScale

StrokeLimit is an extension that caps stroke speed in OpenFunScripter. Set a maximum speed and it finds every stroke in your selection that goes over it, then brings those strokes down to the limit. Multiple limiting modes handle fast strokes in different ways, so you can get the result that suits your script. Instead of hunting for too-fast strokes by hand, you can fix a whole section in one click, with live preview.
Great for making a script playable on slower devices, or for cleaning up sections that got too aggressive.


Download
Current Version
StrokeLimit v1.0 - Download


Installation

  • Download the .rar file and extract the StrokeLimit folder
  • Copy it to your OFS extensions folder (In OFS Click Extensions→Extension directory)
  • StrokeLimit will appear in your extensions menu

How to Use

  • Select the points you want to transform in your script
  • Open StrokeLimit from the extensions menu
  • Turn on Live Preview to see changes in real-time
  • Adjust the settings until it looks right
  • Turn off Live Preview to commit the changes

Settings Explained

Live Preview

  • Shows you changes instantly as you adjust settings
  • Uncheck to commit changes

Maximum Speed (units/second)

  • The maximum speed a stroke is allowed to have
  • Use the 600 button to reset to the default.

Limiting Mode

  • This decides which points get moved to bring a fast stroke under the limit.

Both Points

  • Moves both ends of the stroke toward each other
  • If the neighboring stroke was already limited, the shared point stays put and the other point takes the full correction
  • Best for keeping the overall shape balanced

First Point Only

  • Only moves the starting point of each fast stroke
  • Results in strokes usually staying near the bottom

Last Point Only

  • Only moves the ending point of each fast stroke
  • Best when you want the start of each stroke to stay where it is
  • Results in varied patterns

Changelog

v1.0(Current)
Initial Release


Links
Version 1.0 Download: StrokeLimit.rar ~ pixeldrain
Join my Discord to get the latest versions, updates, report any issues, or leave feedback.

patreon kofi

HUGE thanks to my Backstage Supporters
pup null, Gooonie, piscesbug, Treble, MikanT, Anberlin7926, PupArtemis

4 Likes

Super handy extension thanks. Is it possible to add the opposite where anything under X speed gets the points more spread out to increase the speed?

For that, you could use my other extension

Edit: just realized that might not be exactly what you wanted, since it doesnt detect speed, so you’d have to manually locate the slow parts and select them… I can look into adding a ‘reversed’ mode to this to do what youre asking.

That would be awesome. Sometime in scripts, the speed is below what the handy can deal with accurately (like high speed). So automatically finding and adjusting those areas would be a great fix.