Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eels/hyper-unlimited-power
Extended particle effects in Hyper
https://github.com/eels/hyper-unlimited-power
hyper hyper-plugin hyperterm plugin power powermode
Last synced: about 2 months ago
JSON representation
Extended particle effects in Hyper
- Host: GitHub
- URL: https://github.com/eels/hyper-unlimited-power
- Owner: eels
- License: mit
- Created: 2021-03-27T17:59:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T19:38:02.000Z (over 1 year ago)
- Last Synced: 2024-10-19T14:22:53.085Z (2 months ago)
- Topics: hyper, hyper-plugin, hyperterm, plugin, power, powermode
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hyper-unlimited-power
- Size: 43 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Installation
Add the following to your `~/.hyper.js` plugin array.
```javascript
module.exports = {
...
plugins: [
'hyper-unlimited-power'
]
...
};
```## Config Options
Add any of the following to your `~/.hyper.js` config object.
### Enable Rainbow Particle Colors
Type: `bool`\
Default value: `true````javascript
module.exports = {
config: {
...
hyperUnlimitedPower: {
isRainbowEnabled: true
}
...
}
};
```### Enable Combo Mode
Type: `bool`\
Default value: `true````javascript
module.exports = {
config: {
...
hyperUnlimitedPower: {
isComboEnabled: true
}
...
}
};
```### Enable Permanent Screen Shake
Type: `bool`\
Default value: `false````javascript
module.exports = {
config: {
...
hyperUnlimitedPower: {
isEarthquakeEnabled: true
}
...
}
};
```### Static Particle Colors
Type: `"false"|string|string[]`\
Default value: `false````javascript
module.exports = {
config: {
...
hyperUnlimitedPower: {
isRainbowEnabled: false,
staticParticleColors: ['red', 'yellow']
}
...
}
};
```### Maximum Number of Particles
Type: `number`\
Default value: `20````javascript
module.exports = {
config: {
...
hyperUnlimitedPower: {
maxParticleCount: 50
}
...
}
};
```### Particle Velocity Range
Type: `object`\
Default value: `{ x: [-1, 1], y: [-2, -0.5] }````javascript
module.exports = {
config: {
...
hyperUnlimitedPower: {
particleVelocityRange: {
x: [-1, 1],
y: [-2.5, -1.5]
}
}
...
}
};
```## Secret Config Options
#### `comboActivationThreshold`
Type: `number`\
Default value: `15`#### `comboTimeUntilDecay`
Type: `number`\
Default value: `2000`#### `particleAlphaFadeout`
Type: `number`\
Default value: `0.92`#### `particleAlphaMinThreshold`
Type: `number`\
Default value: `0.1`#### `particleGravity`
Type: `number`\
Default value: `0.075`#### `shakeIntensity`
Type: `number`\
Default value: `1`## License
MIT - see the [LICENSE.md](https://github.com/eels/hyper-unlimited-power/blob/main/LICENSE.md) file for details
## Acknowledgments & Credits
* Inspired by the original [hyperpower](https://github.com/vercel/hyperpower) plugin
* Which in turn was based on [power-mode](https://atom.io/packages/power-mode) and [RagePower](https://github.com/itszero/rage-power)
* With additional fixes from [MajorBreakfast](https://github.com/MajorBreakfast) in ([#75](https://github.com/vercel/hyperpower/pull/75))