开发者

Add Toxi library to Processing

开发者 https://www.devze.com 2023-01-23 16:14 出处:网络
I\'m making a visualization with processing and opengl. I saw an example on this site: http://blog.blprnt.com/blog/blprnt/just-landed-processing-twitter-metacarta-hidden-data.

I'm making a visualization with processing and opengl. I saw an example on this site: http://blog.blprnt.com/blog/blprnt/just-landed-processing-twitter-metacarta-hidden-data.

Now, I want to use toxi for my visualization. I understand that it's a library. But I don't know how to "set it up." How can I download it (even this is confusing) and how can I add it to make proce开发者_如何学Cssing work?

(Right now, I get an error saying toxi is not added.)

Thanks


1) Download the latest toxiclibs zipfile from https://bitbucket.org/postspectacular/toxiclibs/downloads/

2) Unzip the file to the /libraries subdirectory of the processing directory

3) Start Processing and the library examples can be found under menu Sketchbook > Libraries > Toxiclibs


  1. Open Processing.
  2. Go to File->Preferences.
  3. Notice the value of the field labeled "Sketchbook location:".
  4. Open this path in a file browser.
  5. Inside that folder should be another folder called "libraries". Extract the toxiclib library and copy it into this location.
  6. Restart Processing, open the the *.pde sketch and click run.

This worked for me, but it took me a little while to realize that the "libraries" folder was in my "sketchbook"...which none of the other answers mentioned.

e.g. After copying in toxiclib, my path looks like:

/home/myusername/sketchbook/libraries/toxiclibs-complete-0020
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号