tweens

Basic tweening library for Nim

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install tweens
choosenim install tweens
git clone https://github.com/RainbowAsteroids/tweens

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
tweens - - - - - - -

Source

Repository https://github.com/RainbowAsteroids/tweens
Homepage https://github.com/RainbowAsteroids/tweens
Registry Source nimble_official

README

tweens

tweens is a basic tweening library for Nim.

You can install it just like any other nimble library. Get choosenim, and run nimble install tweens.

The documentation was written here, so for now, I'll just show an example you can run by doing nimble test:

import strutils
import math
import os
import tweens
var t = createTween(tkEaseIn, 0, 180, 90)

while t.step != t.steps:
    stdout.write("\x1b[2K\x1b[u" & "=".repeat(round(t.val).Natural))
    stdout.flushFile()

    sleep(50)

    inc t

echo()