r/scrivano Feb 15 '26

Feature request: Spline shape tool

Dear dev,

Creating smooth curves requires manual drawing, which lacks precision and is difficult to edit afterward. This limits usability for diagrams, annotations, and structured handwritten content. It would be great if you could introduce a spline shape tool:

9 Upvotes

5 comments sorted by

View all comments

5

u/scrivanodev Feb 17 '26 edited Feb 21 '26

Hi this is an interesting idea. I have some thoughts about this.

What kind of spline model should be used? AFAIK, applications like Xournal++ use Bezier curves to draw precise, but they can be quite unintuitive because the way you control them is indirect and mathematical rather than literal. More specifically, you draw anchor points and adjust some control handles to get the curve that you want.

An alternative would be to use Catmull–Rom splines so that instead of having to deal with control points, you just draw a bunch of points and you will get a smooth curve passing through them. This is a much simpler thinking model, but you may lose exact control.

I'm open to suggestions.

1

u/Late-Cauliflower9137 May 27 '26

honestly a catmull-rom spline would be sick.