Giter Site home page Giter Site logo

canvas2d's Introduction

Update Canvas 2D API

This repo contains new, current and old proposals for the Canvas 2D API, following a set of rationales.

Explainer video

In active development

  • Layers. Support layers in canvas, that will be drawn in one, allowing effects only possible with auxiliary canvases.

  • Modern filters. Support composited filters, create a filter object that can be updated, and support more SVG-like filters.

  • Display list object. Format and data structure for retained mode drawings, making Canvas apps faster, more accessible and indexable.

Launched

Those proposals have already been incorporated on the WhatWG spec and may be in different stages of implementation on browsers.

Parked / Future ideas

  • Perspective transforms. Allow for perspective transforms Canvas 2D rendering. Support 4x4 transform matrices.

  • Recorded pictures. Create a record object that receives all the commands from a Canvas2D and can be replayed multiple times.

  • Conic curves. Draw primitive.

  • Batch text rendering.

  • Text blob.

  • Path2D Inspection. Allow inspection of Path2D objects, that are currently opaque.

  • Element as a source for drawImage.

Dropped ideas

  • Color input. support for new color input on Canvas.

  • Batch drawImage. Support for multiple images being drawn within a single API call.

canvas2d's People

Contributors

fserb avatar mysterydate avatar vsekhar avatar juanmihd avatar graveljp avatar jpmedley avatar yiyix avatar junov avatar macrabil avatar nt1m 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.