Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yaroslavgaponov/termonfire

Terminal on Fire
https://github.com/yaroslavgaponov/termonfire

doom fun nodejs terminal

Last synced: about 1 month ago
JSON representation

Terminal on Fire

Awesome Lists containing this project

README

        

Terminal on Fire
===========================
Just draw fire in terminal

Run demo
```sh
npm run demo
```

![fire](https://raw.githubusercontent.com/YaroslavGaponov/termonfire/master/example/fire.gif "terminfire")

Example
```javascript
const Fire = require('termonfire');
const fire = new Fire();
fire.start();
setTimeout(_ => fire.inc(15), 5000); // the fire is heating up
setTimeout(_ => fire.dec(5), 15000); // the fire goes out
process.on('SIGINT', _ => fire.stop()); // stop
```