Git Product home page Git Product logo

sando's Issues

Find a way to implement custom composite modes?

This opens the door up to either:

  1. Having to do threaded pixel processing (using Web Workers in the browser, something else in Node), which means that compositing would happen asynchronously; or
  2. Creating a WebGL-based API for compositing with fragment shaders, which would work browser-side only.

More here soon.

Invert alpha "post-blending" logic and allow pre-blending instead

The twisted logic of alpha "post-blending" has to do with a node-sandwich issue specific to HSL blend modes. The Right Thing to do here is to make alpha pre-blending possible with an optional flag (using the existing syntax, the trailing "p" in foo[hsl-saturation@20p]), and making it clear in node-sandwich (maybe in the forthcoming UI?) that HSL blend modes will probably want pre-blending enabled by default.

Implement alpha pre-blending logic

This should composite the source layer onto the destination layer with destination-in (intersection) before then compositing the destination onto the source.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.