We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
我尝试在 JavaScript 中创建简单的“Sphere 标签云”:
http://jstagsphere.sourceforge.net/
主要思想是展示如何创建它 - 您可以按原样使用它或以任何方式改进。
I've tried to create simple "Sphere tag cloud" in JavaScript:
http://jstagsphere.sourceforge.net/
The main idea is to show how to create it - you can use it as is or improve in any way.
看一下 TagCanvas ,它绘制到 HTML5 画布,并且可以作为独立的 JS 或 jQuery 插件使用。
看起来与 Flash 中的球形示例相同,并且也有其他形状的选项。
Have a look at TagCanvas which draws to HTML5 canvas and is available either as stand alone JS or jQuery plugin.
Looks the same as the spherical example in flash and has options for other shapes too.
这是一个 WordPress 插件: 3D标签云
如果您将其放入 WordPress 博客中,则可以直接使用它。
如果你想把它放在其他地方,你可以下载该插件并查看源代码。
It's a wordpress plugin: 3D tag cloud
If you are putting it in a wordpress blog, you could just use that.
If you want to put it somewhere else, you could download that plugin and check out the source.
这是使用 WP-Cumulus 插件在 Flash 中完成的。虽然有很多方法可以用 javascript 来完成它,但我还没有看到任何现成的产品可以做到这一点。
That is done in Flash using the WP-Cumulus plugin. While there are ways to accomplish it in javascript I haven't seen any ready-made products that do just that.
我正在创建另一个名为 rotator-js 的 JavaScript 3D 标签云。它运行得很好。我尝试尽可能优化性能。
https://github.com/ernesto-sun/rotator-js
在自述文件中-在 github 文件中您可以找到更多 JS-3D-Tag-Spheres。
希望有帮助!
I am creating another JavaScript 3D Tag-Cloud called rotator-js. It's working quite well. I try do optimize performance as much as possible.
https://github.com/ernesto-sun/rotator-js
At the readme-file at github you find more JS-3D-Tag-Spheres.
Hope that helps!
您可以使用 canvas 标签在 javascript 中编写此代码,但它在 IE 上不起作用,除非他们修复了 excanvas.js 的问题,您现在可以在其中显示文本。
但是,如果你想让它在 FF3、Opera、Safari 和 Chrome 上工作,那么你可以实现它,但它必须手动完成,因为我不知道有任何 javascript 库可以做这样的事情。
You could write this in javascript using the canvas tag, but it would not work on IE, unless they fixed the problem with excanvas.js where you can now display text.
But, if you wanted it to work on FF3, Opera, Safari and Chrome then you can implement it, but it would have to be done by hand, as I don't know of any javascript library to do something like this.