Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
kampos lets you add filter effects and beautiful transitions to video and images (or any other media). Just like SVG filter effects, only using WebGL, which means it works everywhere!
Read the blog post introducing kampos on Wix Engineering Blog.
CSS-Tricks: Nailing That Cool Dissolve Transition
Check out the live demo.
For API reference and examples, read the docs.
Here's a simple example for using kampos:
import { Kampos, effects } from 'kampos';
const target = document.querySelector('canvas');
const media = document.querySelector('video');
const hueSaturation = effects.hueSaturation();
hueSaturation.hue = 90;
const kampos = new Kampos({ target, effects: [hueSaturation] });
kampos.setSource(media);
kampos.play();
Grab the source from here, or install via package manager.
npm install kampos
Import the default build:
import { Kampos, Ticker, effects, transitions } from 'kampos';
Or take just what you need:
import Kampos from './node_modules/kampos/src/kampos';
import duotone from './node_modules/kampos/src/effects/duotone';
import displacement from './node_modules/kampos/src/effects/displacement';
npm install
npm run build
npm run test
Contributions are welcome! (:
kampos is distributed under the MIT license.
0.14.9 (2025-01-02)
Fixed:
FAQs
Tiny and fast effects compositor on WebGL
The npm package kampos receives a total of 133 weekly downloads. As such, kampos popularity was classified as not popular.
We found that kampos demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.