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
- Open Processing.
- Go to File->Preferences.
- Notice the value of the field labeled "Sketchbook location:".
- Open this path in a file browser.
- Inside that folder should be another folder called "libraries". Extract the toxiclib library and copy it into this location.
- 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
精彩评论