Skip to content

1681-engine / postfx / ShockwaveRun

Interface: ShockwaveRun ​

Defined in: src/postfx/PostFx.ts:32

Extends ​

Properties ​

amplitude? ​

ts
optional amplitude?: number;

Defined in: src/postfx/ShockwaveFilter.ts:7

How far the ring pushes the picture, screen pixels (default 12).

Inherited from ​

ShockwaveOptions.amplitude


ms? ​

ts
optional ms?: number;

Defined in: src/postfx/PostFx.ts:35


reach? ​

ts
optional reach?: number;

Defined in: src/postfx/PostFx.ts:34

How far the ring travels, as a share of the screen's height (default 0.6).


width? ​

ts
optional width?: number;

Defined in: src/postfx/ShockwaveFilter.ts:5

Ring's width as a share of the screen's height (default 0.06).

Inherited from ​

ShockwaveOptions.width

Released under the MIT License.