soft clouds drift across your terminal...
- Install the npm package:
npm install -g clouddrift
- Run clouddrift from your terminal:
clouddrift
- Enjoy peaceful clouds for a while...
- End the animation with
Ctrl + C
(Note: If you didn't install globally (with the -g
flag), you might need to run with npx clouddrift
, or check your path.)
clouddrift generates a simplex-noise grid to populate its clouds
designed for terminals with truecolor (like Windows powershell), clouddrift uses a colour palette loosely inspired by catppuccin's 'mocha'
clouddrift assumes you already have node/npm installed and uses the following npm dependencies:
- chalk - for styling
- simplex-noise.js - for creating a 3D noise space to generate the clouds
- supports-color - checks your terminal for truecolor support
(if they're not already on your system, the npm install process will add them for you.)
This is designed to run on a terminal that supports Truecolor, such as Windows'. Some terminals like the mac OS terminal have a more limited colour palette, so I've had to change the palette to more basic colours.
I hope to add some more customisation in future:
- varied/custom palettes and colour schemes
- cloud control -- parameter control for cloud size and density
- date/clock
written by @thrly, january 2025