HTML5 Canvas: Calculating a x,y point when rotated?

I developing a HTML5 Canvas App and it involves reading a xml file that describes the position of arrows, rectanges ...

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

HTML5 canvas overlay transparent gradients?

I'm creating a color picker in HTML5 like the gradient below It consists of three elements: A solid red backgro...

Animate blurred color blobs?

What would be the most scalable and performance wise solution for crossbrowsers to animate those blurred blobs in mo...

Draw a (progressive) paint splash on a canvas?

I'm looking for a simple method which can able me to draw in a canvas a paint splash like this on : One method wil...

JS - How to create minecraft-style clouds??

I'm currently developing a kind of block game (compare Minecraft) for the browser and am teaching three.js. I want ...

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