Sg2.9
ArtSet contents
Recent RSS
ArtSet contents
From:  diki
Date:  25. February 2006, 01:04

First of all, thank you guys for writing this software; I stumbled across your site via processing.org, and being a student of graphics design and interested in the aesthetics of computer-aided and -generated art, I found myself rather impressed, not to say hooked.

I just got confused: When I create a compound path from 2 individual paths in Illustrator and aquire it in the following way:

var art = new ArtSet().getSelected();

then

art.length

yields a result of 3. Furthermore,

art[0][0].segments[0];
art[1].segments[0];

point at the same segment.

Is it correct that the ArtSet contains both one Art object of the "compoundPath" type [i:d7f394b612]and[/i:d7f394b612] the two Art objects of the "path" type [i:d7f394b612]that resemble the compound path[/i:d7f394b612], and that the paths are thus present and accessible by either corresponding to the compoundPath Array or the ArtSet Array (and why would it be arranged like this) - or is there a difference between the two representations that I am unaware of?

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
Gearwheels 18.08.08