| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 09:15:06 GMT
X-Served-By: cache-dfw-kdal2120058-DFW, cache-bom-vanm7210095-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768641306.062566,VS0,VE439
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
animate-preview: Preview tool for sprite animation
animate-preview: Preview tool for sprite animation
Modules
- Animate
- Animate.Preview
- Animate.Preview.Animation
- Animate.Preview.Chars
- Animate.Preview.Color
- Animate.Preview.Config
- Animate.Preview.Input
- Animate.Preview.Loader
- Animate.Preview.Logger
- Animate.Preview.ManagerInput
- Animate.Preview.Mode
- Animate.Preview.Renderer
- Animate.Preview.Resource
- Animate.Preview.Runner
- Animate.Preview.SDLInput
- Animate.Preview.SDLRenderer
- Animate.Preview.Scalar
- Animate.Preview.Scene
- Animate.Preview.State
- Animate.Preview.Watcher
- Animate.Preview
Downloads
- animate-preview-0.1.2.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.0, 0.1.0, 0.1.1, 0.1.2, 0.1.2.1, 0.1.2.3, 0.1.2.4 |
|---|---|
| Dependencies | aeson, animate, animate-preview, base (>=4.7 && <5), bytestring, containers, filepath, fsnotify, key-state, lens, linear, mtl, optparse-applicative, optparse-generic, random, safe, safe-exceptions, sdl2, sdl2-fps, sdl2-gfx, sdl2-image, sdl2-ttf, StateVar, text, text-conversions, vector [details] |
| License | BSD-3-Clause |
| Copyright | 2018 Joe Vargas |
| Author | |
| Maintainer | Joe Vargas |
| Uploaded | by jxv at 2018-05-27T16:59:05Z |
| Category | Game |
| Home page | https://github.com/jxv/animate-preview#readme |
| Bug tracker | https://github.com/jxv/animate-preview/issues |
| Source repo | head: git clone https://github.com/jxv/animate-preview |
| Distributions | |
| Executables | animate-preview |
| Downloads | 4179 total (25 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs not available [build log] All reported builds failed as of 2018-05-27 [all 3 reports] |
Readme for animate-preview-0.1.2.4
[back to package description]Animate Preview
Animate Preview is a program for viewing sprite animation.
It's intended to be used in sprite development with an image and text editor.
The viewer automatically reloads the files for speedy turnaround.
animate is the main underlying Haskell library.
It's recommend to use sdl2 and animate-sdl2 for graphics.
An example can be found here.
Watch the Video

Try it!
Download executables: OSX | Ubuntu linux
Download resources: dino.png, dino.yaml
animate-preview --target /path/to/dino.yaml --image /path/to/dino.png --watch
More information about the yaml file
Usage
Usage: animate-preview --target STRING [--image STRING] [--high-dpi] [--fps INT]
[--watch]
Available options:
-h,--help Show this help text
--target STRING File path with sprite information (YAML or JSON)
--image STRING Force sprite sheet's file path
--high-dpi Use high DPI (if available)
--fps INT Force frames per second (default: 60)
--watch Watch target and image files. Automatically reload
files when changed
Commands
Animate Preview is mostly controlled through the keyboard.
General
m: Toggle modes -PlaybackandStepperr: Reload sprite information and sprite sheetescape: Quit program
Movement
j/down arrow: Move sprite downk/up arrow: Move sprite uph/left arrow: Move sprite leftl/right arrow: Move sprite rightmouse click(and drag): Sprite follows mouse cursorc: Center sprite
Keyframe
n: Next keyframe animationp: Previous keyframe animation
Speed and Frame position
f: (PlaybackMode) Increase sprite animation speed. (StepperMode) Go to next frame.d: (PlaybackMode) Decrease sprite animation speed. (StepperMode) Go to previous frame.a: Reset animation speed to 1x
Scaling
s/mouse wheel click: Reset sprite scale to 1x+/scroll in: Scale up sprite-/scroll out: Scale down sprite
Visibility
t: Iterate colors of the offset's crosshair (Red, Green, Blue, Cyan, Magenta, Yellow, None)b: Iterate colors of the background (Gray checkered, Black checkered, White checkered)o: Iterate colors of the sprite's outline (Red, Green, Blue, Cyan, Magenta, Yellow, None)i: Toggle showing or hiding animation information
Build
OSX build
brew install sdl2
brew install sdl2_ttf
brew install sdl2_image
brew install sdl2_gfx
stack build
Ubuntu build
sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-gfx-dev
stack build
Windows build
stack exec -- pacman -S mingw64/mingw-w64-x86_64-pkg-config mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_gfx
stack build