用于创建“数字的秘密生活”的工具

发布于 2024-11-17 16:59:34 字数 346 浏览 2 评论 0原文

“数字的秘密生活” 是一个 Java 小程序,具有非常有趣的可视化效果通过互联网展示了号码分布情况(请点击前面的链接查看,相当不错)。

我想实现一个类似的用户界面,即拥有一个可以放大、缩小和平移的用户界面,以及类似的“外观和感觉”。

您知道该项目中可能使用了哪些工具或库吗?

编辑:我对Java基本上一无所知。我通常用Python编程。因为我想使用小程序,所以我认为使用 Java 会更容易做到这一点。这也是学习Java的一个很好的借口。

"The Secret Lives of Numbers" is a Java applet with a very interesting visualization that shows the distribution of the numbers through Internet (please click in the previous link to see it. It is quite nice).

I want to implement a similar user interface, in terms of having a user interface with the possibility of zooming in and out and panning, and a similar "look and feel".

Any idea about what tools or libraries might have been utilized in this project?

Edit: I am mostly ignorant about Java. I usually program in Python. Since I want to use an applet, I think is would be easier to do this using Java. It is also a good excuse to learn Java.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清音悠歌 2024-11-24 16:59:34

这个可视化真的很好看!我只是查看了他们小程序的 .jar 文件,他们没有使用任何库来执行此操作。至少没有公众可用。一切都是在几个类中实现的,通过查看它们的名称,您可以了解您可能想要实现的点滴以获得类似的东西:

Balloon.class
ColorScheme.class
DataSource.class
GraphCanvas.class
NumApplet$FloatFormat.class
NumApplet.class
NumberPhraseConnection.class
PlotCanvas.class
PlotGenerator.class
ThumbCanvas.class
VectorFont$FPoint.class
VectorFont.class

That visualization is really nice! I just looked in the .jar file of their applet, and they did not use any library to do this. At least no public available. Everything is implemented in a handful of classes, and by looking at their names you can get an idea of the bits and pieces you might want to implement to get something similar:

Balloon.class
ColorScheme.class
DataSource.class
GraphCanvas.class
NumApplet$FloatFormat.class
NumApplet.class
NumberPhraseConnection.class
PlotCanvas.class
PlotGenerator.class
ThumbCanvas.class
VectorFont$FPoint.class
VectorFont.class
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文