MisterAibo on DeviantArthttps://www.deviantart.com/misteraibo/art/Animation-Teaching-the-Professor-to-Walk-288945850MisterAibo

Deviation Actions

MisterAibo's avatar

Animation - Teaching the Professor to Walk

By
Published:
3.1K Views

Description

The Professor, in all his glory, taking a little walk.

This is what I did today.

I did manage to tackle some of the issues with svg animation. I've also learned a new use for all the algebra I learned (transformation matrices) and found out there doesn't seem to be a decent way to export animated SVG into... well, anything really.
I could probably get around it with conversion to some raw video, since that's just a bunch of .png files in a container.
Or I could maybe make a simple program...

But anyway, sorry for the crappy .gif preview - I've done that by a shell script that took a picture every T + 0.1 seconds (very roughly, as you can see), T being the animation duration.

For the real (nice and smooth) animation, just open the attached .svg in a compatible browser. (Like Chröm.)

Edit: So... I removed 2MB of inkscape's ballast code and now the thing is valid at last... so it shouldn't have trouble on different browsers.
Edit 2: I also fixed (I think) the issue with legs not moving. Debugging pictures - hilarious.
Edit 3: I didn't, but now I did. You know what the problem was? The browsers had problems interpreting "paced" interpolation. So I used linear, but you won't notice - it's smooth anyway. Yeah. Took me the whole night to get that working.
Edit 4: Do you know the term "Hydra code"? It's some code that generates two new bugs for every bug you get rid off.

EDIT 5: I found out how to do nice smooth gif files from SVG. Preview changed.

So anyway, what do you think?

Time taken: 8 hours 16 hours 20 hours
© 2012 - 2024 MisterAibo
Comments24
Join the community to add your comment. Already a deviant? Log In
SirCxyrtyx's avatar
You should try using APNG instead of a GIF. They look much nicer. I don't know how hard it would be to create from an SVG animation, but it's worth a look.