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 ...