Radial Gradients

Radiel
Ho do we do a tool like this in Wick Editor?

1 Like

21bf135d1e0b90cfef1797e25c980b940d078030_2_1035x582

1 Like

well Scratch-like cursor is a fork of wick editor and will be adding gradients soon

1 Like

(Example) :arrow_up:

1 Like

So How do we get a Radial Gredient like this?

1 Like

I dont thinks it possible yet

1 Like

Screenshot 2025-05-26 11.44.02 It works with linear…

1 Like

whoa how did you do that

1 Like

With A Codehttps://forum.wickeditor.com/t/gradient-tool/8491/2?u=mayolu

1 Like

GradientTool1-23-2022_17-44-49.wick (2.5 KB)

1 Like

So is there a way?? :thinking:

1 Like

Not yet, but @StickmanRed will be adding one to his/her created fork.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

:grinning: :heart:

1 Like

yeah the only way to do this is with code :(

1 Like

Paper.js is the main render in Wick, you can make gradients with it, and just pass the paths directly to Wick, or simply make a Paper.js Path with a gradient SVG and put it into Wick!

I GOT ONE!!!
image

Process analysis

To make a Wick Path, you must first make a Paper.js Path, then translate it into Wick. After that, insert it to the current frame and done!

My Project5-26-2025_16-02-03.wick (1.5 KB)

3 Likes

Some code:

// Make Paper.js Path:
var path = new paper.Path.Circle({
    center: paper.view.center,
    radius: paper.view.bounds.height * 0.4
});

// Fill the path with a radial gradient color with three stops:
// yellow from 0% to 5%, mix between red from 5% to 20%,
// mix between red and black from 20% to 100%:
path.fillColor = {
    gradient: {
        stops: [['yellow', 0.05], ['red', 0.2], ['black', 1]],
        radial: true
    },
    origin: path.position,
    destination: path.bounds.rightCenter
};

// Create Wick Path
var wPath = new Wick.Path({path: path});

// Add path to frame:
project.activeFrame.addPath(wPath);
3 Likes

Is there a way to make transparent gradients???

1 Like

pngtree-black-radial-gradient-png-image_2484801

1 Like