Spiro splines

A place to discuss non-Moho software for use in animation. Video editors, audio editors, 3D modelers, etc.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
human
Posts: 688
Joined: Tue Jan 02, 2007 7:53 pm

Spiro splines

Post by human »

Sprio splines coming for Inkscape

http://screencasters.heathenx.org/wp-co ... ep067.html

http://andy.brisgeek.com/archives/92

EDIT: This is going to be big
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Looks great! Spiro is "similar" to what AS does... but more "smooth". It looks great but... it seems that it could be a "one trick pony". The smoothing looks very extreme. I should play with it though to be sure.

The problem as I see it is that the feature only works within Inkscape. You can't export "spiro paths" and maintain those curves to be used in another application. The same problem with Adobe Illustrator files imported into AS. Maybe though it has a way to "convert" spiro to bezier when exporting eps... don't know.

-vern
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Post by mkelley »

Kind of like Inkscape "discovered" how Mike programs his curves. Doesn't seem like all that big a deal to me, but I guess the analogy would be if AS suddenly had Bezier curves -- I guess that would be "big", so I can see how adding a similar drawing feature to the way AS works might be big somewhere else.

I actually don't miss Bezier anymore -- kind of got used to drawing with "spiro" curves <g>.
human
Posts: 688
Joined: Tue Jan 02, 2007 7:53 pm

Post by human »

If you do want to play with it, you'll need to find a daily build from the subversion system.

Ugh. :shock: Too advanced for me. (Sounds like a job for Genete or mkelley.)

The feature will land in version 0.47. :idea:

=============================

PS Here are some more faces -- collect 'em all !!

:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow:

Man, that was fun!
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Spiro splines seems not to be the same than AS curves. In AS the curvature of end points is zero and Spiro in Inkscape doesn't. They are completely different.
-G
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Post by mkelley »

I don't know about that -- all I know is I can duplicate the tutorial look very closely by doing the same steps in AS -- the curves seem to behave the same way as I move the points. If I can achieve the same look by doing much the same steps I guess I don't care about the math involved.
dm
Posts: 272
Joined: Tue Aug 19, 2008 7:50 pm
Location: Los Angeles

Post by dm »

Looks like vector/B- splines (NURBS). It's more complicated mathematically, but offers 'smoothness'. Spiro? why not call it what it is?

http://devworld.apple.com/dev/techsuppo ... eider.html

http://en.wikipedia.org/wiki/NURBS has nicer pictures.

The math involved in the 'curve' type has an effect on how it works with animation. Maya users can [probably] attest to that.
human
Posts: 688
Joined: Tue Jan 02, 2007 7:53 pm

Post by human »

Guys, I think you are still having some problem with the idea that this is something we haven't seen before.

There are curves and then there are curves. To say they are all alike is like saying that all women are built alike (two eyes, two noses, etc) ...Hmmm. Guess I don't know enough women? :wink:

For some reason, the nickname "Spiro" has been tacked onto curves that were formerly called Cornu or Euler curves. In mathgeek, they call it a clothoid, as in: "Captain Kirk, we've been invaded by the Clothoids."

However, I, too, was wrong about the difficulty in access to this. Inkscape actually lets you download a runnable 0.47 development version. You'll need 7Zip to un7zip.

http://www.inkscape.org/download/?lang=en

. . . AND it is saved out to pure SVG, to answer your question.
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Genete is right by the way. AS curves aren't like this at all. You tend to get slight "bumps" or "non smooth" curves in AS if you have too many points. I'm not really sure I would want 100% spiro when drawing. I don't think you would want all curves to be exactly the same like this. They are all perfectly round. I may be seeing it wrong or not understanding but it looks... odd to me. It looks very cool and would be great for doing logos and fonts... I just don't know how far I would want it to go. Everything could end up with that similar "spiro" look on all the curves.

It would absolutely satisfy my obsessive compulsive tendency for perfect round smooth curves without a lot of work. ;)
human wrote:. . . AND it is saved out to pure SVG, to answer your question.
And it maintains the shape of the "spiro curves"? Cool! That is important. Not much use if you can't "get them out" of inkscape.

-vern
human
Posts: 688
Joined: Tue Jan 02, 2007 7:53 pm

Post by human »

heyvern wrote: . . . AS curves aren't like this at all. You tend to get slight "bumps" or "non smooth" curves in AS if you have too many points. . . . -vern
heyvern wrote: . . . I don't think you would want all curves to be exactly the same like this. . . Everything could end up with that similar "spiro" look on all the curves. -vern
Dang, you're intuitive!

As a matter of fact, the Spiro curves act the same way as you described AS, depending upon the smoothing factor. If smoothing is low, the jitters of pencil drawing affect the curves so as to take the gracefulness out of it . . .

. . . and when you dial up smoothness, everything DOES "end up with that similar 'spiro' look on all the curves."

You really hit the nail on the head--these restrictions are a deal killer, unless some young guy invents a radical new character-design style within these strictures.

It's slightly beyond the scope of this thread, but I am now hanging up my experiments with animating SVG out of Inkscape.

Perhaps you can even guess why. SVG's shape morphing is not reliable enough in the best environment: the Opera browser. For an Internet browser, it's not the main event, not high priority.

SVG Path morphing in Java is even more fragile and I doubt if that situation is going to improve in the foreseeable future.

Firefox doesn't even support SVG path morphing yet, so we have no idea whether Mozilla will ever take it seriously.

I have to make up my mind now whether to commit to Anime Studio or TB Animate.
User avatar
Víctor Paredes
Site Admin
Posts: 5817
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

human wrote:However, I, too, was wrong about the difficulty in access to this. Inkscape actually lets you download a runnable 0.47 development version. You'll need 7Zip to un7zip.
Human, I can't find the link to download the 0.47 version, can you post the exact link, please? (or an explanation, maybe I'm too blind or silly to see it).
human
Posts: 688
Joined: Tue Jan 02, 2007 7:53 pm

Post by human »

selgin wrote:Human, I can't find the link to download the 0.47 version, can you post the exact link, please? (or an explanation, maybe I'm too blind or silly to see it).
No problemo, selgin.

On this page

http://www.inkscape.org/download/?lang=en

Just look for the links in Development versions:

==============================

Compiled Packages

If you don't want to compile the code yourself, use the nightly build for your system:

Windows:

* Mirrored Win32 Builds

Linux:

* Autopackage Builds — See Autopackage Site for directions
* ZeroInstall feed — see 0install.net for more information
* Gentoo Dependencies — make sure everything has been compiled by the same version of g++. C++ ABI changed between gcc 3.3 and 3.4
* Debian Dependencies — everything is available in the unstable apt repositories.

Mac OS X:

* Mac OS X packaged application (.dmg), named by date.
User avatar
Víctor Paredes
Site Admin
Posts: 5817
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Thank you, human. It was tricky. I have seen some new features of Inkscape and I'm thinking seriously in leave behind Corel Draw.
human
Posts: 688
Joined: Tue Jan 02, 2007 7:53 pm

Post by human »

You can un-7-ZIP the development version (.47) in any local folder.

But if you want to use Inkscape seriously you will need the stable build .46 for serious work. It should come with a real installer, I think.

Get both versions . . .
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

You want to hear something really funny and coincidental?

Just about a week ago I was creating a 3D model in Animation Master of a "Victorian style" hand truck (those push carts with two wheels you use to move boxes and such). I had all of these intricate spirals and floral filigree metal designs in the hand truck... EXACTLY like the tutorial posted here for Spiro curves.

A:M has an AI import plugin. I drew all the spirals in AI and used them as extrude paths in animation master.... good grief... I would have LOVED to have had "Spiro" curves for that process. Getting perfectly round and smooth spirals in Adobe Illustrator for the filigree metal extrusions was a pain in the arse.

So yes I think Spiro has it's use but it still feels a tiny bit like a novelty. Something that would save a ton of time in the right situation but not something you would use all the time.

-vern
Post Reply