Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kampos

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kampos - npm Package Versions

1235

0.5.1

Diff

Changelog

Source

0.5.1 (2021-03-26)

New:

  • Added usage of the OES_vertex_array_object extension for improved drawing performance.
ydaniv
published 0.5.0 •

Changelog

Source

0.5.0 (2021-03-04)

New:

  • beforeDraw callback now takes an argument time that will get the timestamp param of rAF injected into it.
  • All effects and transitions now take params argument, an Object that contains initial values to set.
  • turbulence effect now takes a new argument params.output which results in a code injected to the fragment shader for controlling the output of the effect. You can use the static properties of the effect:
    • turbulence.COLOR: render the result value as a grayscale vector into color.
    • turbulence.ALPHA: render the result value into alpha.

Breaking:

  • blend effect now takes noise as a property of params object.
  • displacement effect now takes wrap as a property of params object, which are now static properties of the effect:
    • displacement.CLAMP
    • displacement.DISCARD
    • displacement.WRAP
  • tubulence effect now takes the noise string argument as a property of params, as in: params.noise.
ydaniv
published 0.4.0 •

Changelog

Source

0.4.0 (2021-02-08)

New:

  • Dissolve transition.
ydaniv
published 0.3.5 •

Changelog

Source

0.3.5 (2019-11-09)

Fixed:

  • Fixed noise rendering on mobile with changing percision to highp.
ydaniv
published 0.3.4 •

Changelog

Source

0.3.4 (2019-10-22)

New:

  • Added wrapping methods for displacement effect: CLAMP, DISCARD, WRAP.

Fixed:

  • Fixed usage of sourceCoords in displacement transition.
ydaniv
published 0.3.2 •

Changelog

Source

0.3.2 (2019-09-28)

Fixed:

  • Fixed handling noSource and multiple textures in draw loop.
ydaniv
published 0.3.1 •

Changelog

Source

0.3.1 (2019-09-25)

Fixed:

  • Updated docs & README.
ydaniv
published 0.3.0 •

Changelog

Source

0.3.0 (2019-09-24)

New:

  • Added suport for noSource argument for rendering without a media source.
  • Implemented turbulence effect.
  • alphaMask effect now supports luminance mode via isLuminance getter/setter.
  • Added beforeDraw callback to kampos config.
  • Added perlin 3D noise.

Fixed:

  • CI build fixes.
ydaniv
published 0.2.2 •

Changelog

Source

0.2.2 (2019-08-07)

Fixed:

  • Added missing progress getter/setter for fade transition.
ydaniv
published 0.2.1 •

Changelog

Source

0.2.1 (2019-08-07)

Fixed:

  • kampos is not dependent on Ticker.

New:

  • Published transpiled source.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc