Skip to content

mazylol/humidify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

making your terminal a little more humid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages