unvalley/ascii-sky
Media & DesignA canvas-based ASCII sky animation with day, sunset and night themes, mountable in plain TS or React.
What it does
ascii-sky paints a blue sky as ASCII characters on an HTML canvas. It ships three themes — day, sunset (described as Vice City inspired) and night — plus an auto mode, and can be mounted from plain TypeScript or used as a React component. It is a decorative visual, not an image converter: the README's demo is the sky used at the top of the author's personal site.
The rendering approach for cloud edges is based on Alex Harri's ASCII rendering writeup, and the idea is credited to ASCII art pieces such as Dao's koi fish and stacked's ASCII sharks.
Quick start
Prerequisites: Node.js with pnpm available.
pnpm install
pnpm dev
That starts the local development page. To embed the sky in your own page, mount it on a canvas element:
const sky = mountSky(canvas, { theme: "auto" }); // "light", "sunset", "dark" or "auto"
In React, import the <AsciiSky /> component from src/react.tsx instead. If you want a sky rendered from your own picture rather than the built-in themes, the project points to scripts/README.md for that workflow; the exact script steps are documented there rather than in the main README.
Constraints
- The theme values in the API are
light,sunset,darkandauto— the README's prose calls the same set day, sunset and night, so use the code strings, not the descriptive names. mountSkyexpects a canvas element; it is a browser-side visual, so rendering depends on canvas support in the host page.- Custom-image conversion lives in a separate scripts workflow, so the main package is not a general-purpose ASCII art generator out of the box.
- Released under the MIT license.
HotRepo's take
ascii-sky is a small, focused visual effect: about 100 stars at first observation, ticking up to 105 within roughly an hour and a half on 2026-11-26, when it appeared on the new-projects list for TypeScript with a window gain of 5 stars and 1 fork. That is a short observation window with no recorded all-language daily rank, so the numbers describe interest on a single day rather than a trend. The value here is narrow and practical: if you want an ASCII sky as a lightweight decorative element, the mount API and React component are the whole story.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- quanhoangindex/ascii-revealA React loading effect that scrambles and decodes text, images and cards through an ASCII character grid.
- stackedlol/ascii-sharksA zero-dependency TypeScript canvas engine that renders animated ASCII sharks and fish for ambient art and playful web pages.
- kailashsr38/ascii-magic-artA library of 634 ready-made animated ASCII art pieces to browse in a terminal and drop into pages, READMEs or wallpapers.
- JDhruv14/line-art-animationGenerate animated ink-style line-art SVG scenes with walking figures and day-night cycles, via a Claude skill or TypeScript library.
- 0xSero/ascii-artConverts photos into two-tone dot-grid artwork and renders it as seamless animated loops, for generative artists working from the command line.