Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        





:tada:



hyper-unlimited-power






A configurable hyper power-mode plugin









hyper i hyper-unlimited-power




## 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))