GlyphEngine Learn Playground GitHub

GlyphEngine

Shader-style ASCII art for the web, the terminal and the desktop.

Start learning Open the playground GitHub

npm install @glyph-engine/web

import { run } from '@glyph-engine/web';

run({
    main(coord, context, cursor, out) {
        const v = Math.sin(coord.x * 0.1 + context.time * 0.001);
        out.char = v > 0 ? '#' : '.';
    },
});
Run in playground