Stretch an image to fit in any quadrangle?

The application PhotoFiltre has an option to stretch part of an image. You select a rectangular shape and you can th...

How can I build a double doughnut chart that spins when triggered?

I've tried Chart.js, ChartJS.js, Highchart.js, and some straight forward CSS changes with jQuery, and nothing's work...

Draw dashed and dotted rectangles on canvas in the same way css border works: draw 4 same edges?

My use-case is to mimic css border rendering. Is it possible, using the CanvasRenderingContext2D::rect method with C...

How to make a crescent moon shape in HTML canvas?

I need to make the following shape in HTML5 canvas. I have tried using cubic bezier arcs and also clipping two circl...

How to save an HTML5 Canvas as an image on a server??

I'm working on a generative art project where I would like to allow users to save the resulting images from an algor...

Draw arrow on canvas tag?

I want to draw an arrow using the canvas tag, javascript. I've made it using the quadratic function, but I'm having ...

HTML5 Canvas background image?

I'm trying to place a background image on the back of this canvas script I found. I know it's something to do with t...

Chart area background color chartjs?

I have problem with chart js, i want to coloring chart area like image above I try to find configuration from char...

Tainted canvases may not be exported?

I want to save my canvas to a img. I have this function: function save() { document.getElementById("canvasimg")...

Canvas image masking / overlapping?

In my project i have to implement one different color image on the other same size and pattern image using canvas an...