Skip to content
프로젝트

소개

Animation library for terminal UIs

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
기록 수집 중
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

tarang

Animation library for terminal UIs

Tarang terminal animation demo

Install

Use Go 1.24 or later. Run this in your Go module.

go get github.com/vyrx-dev/tarang

Quick start

Save this as main.go and run go run . in an ANSI-capable terminal.

package main

import (
	"fmt"
	"time"

	"github.com/vyrx-dev/tarang"
	"github.com/vyrx-dev/tarang/effects"
)

func main() {
	const step = time.Second / 30
	p := tarang.New("Hello, Tarang!", effects.Typewriter(), tarang.FromEnv())
	fmt.Print(p.View())
	for !p.Done() {
		time.Sleep(step)
		p.Advance(step)
		fmt.Printf("\r%s", p.View())
	}
	fmt.Println()
}

Showcase

See every effect in an interactive terminal gallery:

cd adapters/bubbletea && go run ./examples/showcase

Documentation

Credits and licenses

TerminalTextEffects inspired many of the visuals. Tarang implements them independently. The easing curves follow Robert Penner's equations.

Tarang is MIT-licensed. See LICENSE and the dependency license notices.

관련 프로젝트 살펴보기

불러오는 중…