Add example GIFs to README

This commit is contained in:
Christian Rocha 2021-07-19 17:03:12 -04:00 committed by GitHub
parent 4e27515ee9
commit 3d372ec8a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@ Harmonica
A simple, efficient spring animation library for smooth, natural motion.
<img src="https://stuff.charm.sh/harmonica/harmonica-opengl.gif" width="400" alt="Harmonica OpenGL Demo">
Harmonica is framework agnostic and works well in 2D and 3D contexts.
```go
import "github.com/charmbracelet/harmonica"
@ -33,6 +37,10 @@ for {
}
```
It even works well on the command line.
<img src="https://stuff.charm.sh/harmonica/harmonica-tui.gif" width="900" alt="Harmonica TUI Demo">
For details, see the [examples][examples] and the [docs][docs].
[examples]: https://github.com/charmbracelet/harmonica/tree/master/examples