Skip to content

Repository files navigation

Lime

GitHub Workflow Status GitHub Actions Workflow Status GitHub License

Lime is a small Haskell render engine that uses recursive path tracing to produce images. It supports scene descriptions in both YAML and Lua; Lua allows procedural scene generation and animation.

Build

With cabal

cabal build

With Nix

nix build github:Froxwin/Lime

Usage

Lime [-i|--input PATH] [-o|--output PATH] [-p|--preview] [-t|--textures DIR] [-m|--models DIR]

Run Lime --help for full options.

Example scenes can be found in examples.

Lua

For a static scene, define a global scene. See example.

For an animation, define a global scenes list (one entry per frame). See example.

To stitch rendered frames into a video:

ffmpeg -framerate <fps> -i "<directory>/%d.png" output.mp4

Example Renders

Scene Balls

Moon Empty

Saturn Saturn

Circling Camera

About

Silly pathtracer

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages