own-the-canvas 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -190,6 +190,7 @@ import { GlitchOverlay } from "own-the-canvas";
190
190
  | --- | --- | --- | --- |
191
191
  | `intensity` | `number` | `0.6` | Glitch probability 0–1 |
192
192
  | `rgbShift` | `number` | `8` | RGB color shift in px |
193
+ | `rgbShiftColor` | `string` | `"#ff0000"` | RGB split primary color — complement used for opposing channel |
193
194
  | `scanlines` | `boolean` | `true` | CRT scanline overlay |
194
195
  | `blockGlitch` | `boolean` | `true` | Block-slice glitch artifacts |
195
196
  | `flickerRate` | `number` | `0.02` | Screen flicker rate 0–1 |
@@ -255,6 +256,7 @@ import { FireEffect } from "own-the-canvas";
255
256
  | Prop | Type | Default | Description |
256
257
  | --- | --- | --- | --- |
257
258
  | `palette` | `"smoke" \| "inferno" \| "toxic" \| "ice" \| "plasma"` | `"smoke"` | Color theme |
259
+ | `customColors` | `string[]` | `undefined` | Custom gradient — overrides palette when ≥2 colors |
258
260
  | `intensity` | `number` | `0.95` | Flame intensity 0–1 |
259
261
  | `windStrength` | `number` | `0.3` | Horizontal wind -1 to 1 |
260
262
  | `cooling` | `number` | `0.3` | Cooling rate — higher = shorter flames |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "own-the-canvas",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Beautiful, responsive, fully customizable HTML canvas-based React visual components",
5
5
  "author": "Jabid Hasan",
6
6
  "homepage": "https://own-the-canvas.vercel.app",