Skip to content

A simple system to calculate interpolations between two sets of points.

License

Notifications You must be signed in to change notification settings

pelevesque/Mystical-Morpher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mystical Morpher

Synopsis

raku main.raku --num-frames=10 source.txt

About

It's not magical, but it's mystical. Following in the great mystic traditions, Mystical Morpher is all about the journey, not the destination. You provide the birth and death points, and it generates the life that ties them together. Are you ready to unveil the hidden frames between two seemingly unrelated objects? With Mystical Morpher, a chicken can become an egg, an old man rejuvenated into an active young boy, and a mother-in-law transformed into a harmless docile cat. Pick two vector graphics and let Mystical Morpher do the rest! Patent pending, copyright as of 2024, all rights reserved unless stated otherwise. Donations through Patreon and Github.

Usage

Provide a text source file which contains a template with numbers for the first frame, a divider -----, then the same template with numbers for the last frame.

A template can be anything, so long as it contains numbers, and that the templates for the first and last frame contain the same amount of numbers.

Mystical Morpher will create intermediary frames to reach the total number of frames specified.

See source.txt for an example of a source.txt.

Resource

To make sure your first and last frames use the same format, it might be necessary to convert their paths to all absolute or all relative commands. The program below does that.

https://lea.verou.me/blog/2019/05/utility-convert-svg-path-to-all-relative-or-all-absolute-commands/

License

MIT
copyright 2024 Pierre-Emmanuel Lévesque

About

A simple system to calculate interpolations between two sets of points.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages