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
26.04.12, 16:05
19.04.12, 16:54
07.04.12, 16:17
05.04.12, 00:49
15.03.12, 13:02
14.02.12, 19:00
Posts
17.05.12, 11:04
15.05.12, 02:38
15.05.12, 01:51
12.05.12, 00:54
11.05.12, 05:26
09.05.12, 21:16
Script of the Moment
L-System 26.10.11
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!