Skip to content

Tw1ddle/geometrize-tween-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

License Geometrize Tween Optimizer Build Status

A utility for creating appealing tweening animations between sets of shapes. Run it now in your browser.

Made for use with shapes exported from Geometrize, a tool for recreating images using geometric primitives.

Geometrized Tween Example

Features

  • Create visually appealing transitions between collections of shapes.
  • Edit the core algorithm interactively via on-page script textedits.
  • Save mappings between sets of shape data for use elsewhere.
  • View the shapes tweening in realtime.

Usage

  • Open up the demo and inspect the sample shape data and optimization code.
  • Use different shape data by pasting Geometrize shape data JSON into the "Dataset" text areas.
  • Edit the optimization code via the "cost function" and "optimization function" text areas.

If you extend this code, remember that you must disable dead code elimination (''-dce no'' in the build .hxml), or else mark things you expose to the scripting engine with the ''@:keep'' annotation.

Also remember that you can't expose abstracts to hscript. One workaround is to write a wrapper for your abstract that exposes the functions you need to hscript.

Notes

About

A tool for creating visually appealing tweens between sets of geometric primitives

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published