Coder Social home page Coder Social logo

filterr's Introduction

filterr

Image filtering with pure CSS. Simple CSS experiment built to give me, a lazy designer/dev, the initiative to learn Git and Github. Also this was fun to make, and we like fun.

List of CSS3 filters:

filter: brightness(100%); 0min 200max

filter: contrast(100%); 0min 200max

filter: grayscale(0%); 0min 100max

filter: hue-rotate(0deg); 0min 360max

filter: invert(0%); 0min 100max

filter: saturate(100%); 0min 200max

filter: sepia(0%); 0min 100max

Blur and opacity filters omitted. Blur can get choppy, and opacity didn't really seem that useful so both filters were omitted.

Right now the image cannot be saved after you filter it, as the CSS filters are not actually filtering the image as the image is drawn into a canvas.

There is currently a proposed 'filter' property for canvas. This means that the same filters I am using in CSS could be applied to the canvas objects directly. This would allow for saving the image, post filter, as the image within the canvas is actually be altered by the filters and not just made to look as if it has been altered. More info here: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter

filterr's People

Contributors

kgmmm avatar

Watchers

James Cloos avatar Woody avatar  avatar

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.