You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cursive-async-view/assets
Fin Christensen 0aa741919b
Rerender examples to gifs for readme
3 years ago
..
README.md Rerender examples to gifs for readme 3 years ago
async-view-progress-fail.gif Rerender examples to gifs for readme 3 years ago
async-view-progress-fail.yml Rerender examples to gifs for readme 3 years ago
async-view-progress.gif Rerender examples to gifs for readme 3 years ago
async-view-progress.yml Rerender examples to gifs for readme 3 years ago
async-view-simple.gif Rerender examples to gifs for readme 3 years ago
async-view-simple.yml Rerender examples to gifs for readme 3 years ago
async-view-timeout.gif Rerender examples to gifs for readme 3 years ago
async-view-timeout.yml Rerender examples to gifs for readme 3 years ago
config.yml Rerender examples to gifs for readme 3 years ago

README.md

Creating a new GIF

Recording

Inside a 80x24 terminal record it using

$ cargo build --example simple
$ cd assets
$ terminalizer record --config ./config.yml async-view-simple

As xterm.js is still unable to render emojis properly (geez, it's 2019...) insert a space after all emojis in the recording manually to workaround wide-character issues

Rendering

$ terminalizer render async-view-simple.yml -o async-view-simple.gif

Optimizing

$ gifsicle --colors 32 -O3 async-view-simple.gif -o async-view-simple.gif