go-rain
This is a very basic implementation of a terminal rain effect in Go using the goterm
and gookit/color
libraries.
Inspired by nkleeman's implementation in C.
Dependencies
As mentioned above, this program relies on goterm
and gookit/color
to print the rain drops to the terminal. If you decide you want to run the program, it should auto install any dependencies when you perform the go run
command.
Installation & Execution
Clone the repo:
$ git clone https://github.com/ak-tr/go-rain
Move into its directory:
$ cd go-rain
Run:
$ go run main.go
Alternatively, build with:
$ go build
Then, run:
$ ./go-rain
Issues
Windows support added. Should have no issues there.
MacOS users, if you encounter an xcrun: error: invalid active developer path
error, run:
$ xcode-select --install
Also my first time using Golang, I appreciate any feedback...