Sg2.9
Toxiclibs
Recent RSS
Toxiclibs
From:  Daniel Samson
Date:  10. August 2011, 22:20

Now that toxiclibs has been ported to JavaScript is it possible that some of it could be utilised in scriptographer? I realise a lot of it is aimed toward animation, but all the vector manipulation stuff would be great to play with.

http://haptic-data.com/toxiclibsjs/

Re: Toxiclibs
From:  ken frederick
Date:  17. August 2011, 17:24

include()

  • Loads and evaluates one or more javascript files.

include("LIBRARY_NAME.js");

you might have to modify things a bit within the toxiclibsjs.

post here if you get something working

Ken

Re: Toxiclibs
From:  ken frederick
Date:  17. August 2011, 21:46

ok. i couldn't help myself.

this is very rudimentary, but i've ported http://haptic-data.com/toxiclibsjs/examples/Attraction2D_pjs.html over to scriptographer, in general i think implementing toxiclibsjs would be more interesting with paperjs.

however, the idea of adding a phyiscs engine for generative design directly within in illustrator is interesting.

you'll need to get the latest toxiclibjs code from http://github.com/hapticdata/toxiclibsjs and copy the build folder into the same directory as the script (Attraction2D_0_1.js)

Ken

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
rot3d 24.05.09