Skip to content
프로젝트

소개

WebGL 기반 동영상 ASCII 변환 React 컴포넌트

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

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

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

README.md

Original

video2ascii

WebGL-powered React Component for video to ASCII conversion.

gta.jpeg

Installation

npm install video2ascii

Usage

import Video2Ascii from "video2ascii";

<Video2Ascii
  src="/video.mp4"
  numColumns={120}
  colored={true}
  brightness={1.0}
  audioEffect={50}
  enableMouse={true}
  enableRipple={true}
  charset="detailed"
  isPlaying={true}
  autoPlay={true}
/>;

Props

Prop Type Default Description
src string required Video URL
numColumns number - Number of columns (controls size)
colored boolean true Use video colors vs green terminal
brightness number 1.0 Brightness multiplier (0-2, 1.0 = normal)
blend number 0 0 = ASCII, 100 = original video
highlight number 0 Background behind characters (0-100)
charset CharsetKey "standard" Character set
enableMouse boolean true Cursor glow effect
trailLength number 24 Mouse trail length
enableRipple boolean false Click ripple effect
rippleSpeed number 40 Ripple expansion speed
audioEffect number 0 How much audio affects brightness (0-100)
audioRange number 50 How dramatic audio brightness changes are (0-100)
isPlaying boolean true Whether video is playing
autoPlay boolean true Auto-play on load
enableSpacebarToggle boolean false Enable spacebar to toggle play/pause
showStats boolean false Show FPS overlay
className string "" CSS class name

Character Sets

import { ASCII_CHARSETS } from "video2ascii";
  • standard — @%#*+=-:.
  • detailed — Full gradient with 70 characters
  • blocks — █▓▒░
  • minimal — @#.
  • binary — 10
  • dots — ●◉○◌
  • arrows — ↑↗→↘↓↙←↖
  • emoji — Various emoji

관련 프로젝트 살펴보기

불러오는 중…