将 Toxi 库添加到处理中
我正在使用处理和 opengl 进行可视化。我在此网站上看到了一个示例: http:// /blog.blprnt.com/blog/blprnt/just-landed-processing-twitter-metacarta-hidden-data。
现在,我想使用 toxi 进行可视化。据我了解,这是一个图书馆。但我不知道如何“设置”。我如何下载它(即使这很令人困惑)以及如何添加它以使处理工作?
(现在,我收到一条错误消息,说未添加毒物。)
谢谢
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 processing work?
(Right now, I get an error saying toxi is not added.)
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
1) 从https://bitbucket.org/postspectaulous/有毒libs/downloads/下载最新的有毒库zip文件
2) 将文件解压到处理目录的 /libraries 子目录中
3) 开始处理,库示例可以在菜单 Sketchbook > 下找到。图书馆>毒物库
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
这对我有用,但我花了一点时间才意识到“库”文件夹位于我的“素描本”中......其他答案都没有提到。
例如,在有毒库中复制后,我的路径如下所示:
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:
@Cerin 的答案对我不起作用。处理需要一个库结构,如此处所述。简而言之,/sketchbookLocation/libraries 中的每个库文件夹都必须有一些文件夹名称:src、examples、library、reference。
@Cerin的第5步需要稍微调整一下。您必须将有毒库 zip 的内容提取到库文件夹中。
例如,在有毒库中复制后,我的路径如下所示:
..当然,有毒库文件夹中的所有其他文件夹也位于库文件夹中。
诗。最新版本的oticlib位于 github 。
The answer of @Cerin did not work for me. Processing expects a library structure as described here. In short, every library folder in /sketchbookLocation/libraries has to have some of the folder names: src, examples, library, reference.
Step 5 of @Cerin has to be adjusted a bit. You have to extract the content of the toxiclib library zip into the libraries folder.
e.g. After copying in it toxiclib, my path looks like:
..and of course all the other folders that are in toxiclibs-complete-0021 are also in the libraries folder.
Ps. most recent version of toxiclib is on github.