humidify

command module
v0.0.0-...-e87e9b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2025 License: GPL-3.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Humidify

Rain in the terminal

Install

AUR
yay -S humidify-git
Source
go install github.com/mazylol/humidify

Run

humidify

Features

  • Change raindrop character (--character)
  • Change raindrop speed (--speed)
  • Change raindrop color (--color)
  • Control number of raindrops falling (--density)
  • Change splash size (--splash-size)
  • Set width of the terminal grid (--width)
  • Set height of the terminal grid (--height)
  • Change the gravity, or acceleration of the drops (--gravity)
  • Disable splash (--no-splash)

Note

This program is heaviliy unoptimized. Every drop is running in its own goroutine. So...beware if you are on weaker hardware. Might optimize later. Probably could get away with running multiple drops per goroutine at the same speed without being noticeable.

Making drops not speed up to infinity, limiting goroutines to 50, and adding a 50ms delay in the render loop dramatically improved performance!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址