Hi all. I’ve created special script to draw open and closed curved splines (also with jaggies removal).
To use it create a layer with points of three types:
- Start point must be in shape of X i.e. one center pixel and at least four pixels in diagonal directions
- Other points may be of any other shape, but overall circles will be best in my opinion
- Remove pixels from center of your point shape to make a sharp corner
Use same color for all points until you need to redirect your spline. This script searches for next nearest point of same color first, so there may be some funny situations, so be aware.
Then run the script (eg_supercurve.lua) and select or enter appropriate KLen and DMax curvature parameters (default KLen=1/4, DMax=25, KLen is proportion of segment length for curving, DMax is maximum distance in pixels for curving when KLen used for very long segments).
Consider these images as illustration of source and results:
And the link to the script itself: eg_supercurve.zip - Google Drive
Another example with KLen=1/2 and DMax=25 with jaggy-like spline like some land borders…
this is amazing!
i really don’t like current curve tool, so i’m going to use this a lot.
Nice! I like the use of filled points to toggle sharp corners.
On my system it does not seem to close the curve though (Aseprite v1.2.30)
Did you toggle [x] Closed spline checkbox?
I did not check the box, that was my mistake. Excellent!
While I have no use for this tool, I want to say how cool this is! Such a clever interface with the blobs and different colours.
I planned to use this tool to make animated contour characters in relatively big resolutions like 320x240. While it could be used for such thing, there will be problems with moving points and distances between them.
So I still want those vector/path layers in 1.4 for Another World-like animations and references. But good point-to-point-to-point spline curve tool like I implemented here would be great too.
I’ll give it a try to confirm but I believe you just saved me hours of work of making smooth smear frames for my sword attacks (I suck at drawing clean curves) so thank you in advance.
I wanted to say thanks for this brilliant script. I’ve been using it and never knew this was something I needed.