Sg2.9
Assigning colour based on obj...
Recent RSS
Assigning colour based on object size
From:  David
Date:  3. February 2012, 16:55

Hi there all. Looking for a script which with calculate the surface area of a shape and then (either allow or provide coordinates) to colour these shapes i.e large shapes lighter, small shapes darker (see attached image).

Does anyone know if there is something available which performs this task, or a script that could be manipulated?

Cheers.
David

Re: Assigning colour based on object size
From:  pqbd
Date:  3. February 2012, 22:33

You can use the path.area property to get the square pixel area of a path

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
RandomTools 21.08.08