Flask application which powers the conceptnull.org website, using MediaWiki as it's backend.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
311 B

function conicGradient(sA, cX, cY, colors) {
let gradient = drawingContext.createConicGradient(
sA, cX, cY
);
gradient.addColorStop(0, colors[0]);
gradient.addColorStop(0.33, colors[1]);
gradient.addColorStop(0.66, colors[2]);
gradient.addColorStop(1, colors[0]);
drawingContext.fillStyle = gradient;
}