deformation

command
v0.2.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2021 License: BSD-2-Clause Imports: 10 Imported by: 0

README

deformation

This example uses the As-Rigid-As-Possible algorithm to animate a box being squeezed and twisted in various ways.

By default, this produces a small, low frame-rate rendering to save space in the repository. Constants at the top of the file allow for higher-resolution renderings:

FrameSkip = 4
ImageSize = 200

Simply set FrameSkip = 1 and ImageSize = 500 for a smoother, nicer animation.

Renderings

Here is the low-resolution animation as a GIF:

Animation of the deformation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL