简体   繁体   English

是否有一个Java库可以帮助绘制细胞自动机图形?

[英]Is there a Java library out there that can aid in drawing cellular automata graphics?

I feel like this kind of task must be done pretty often but I am unable to find any widely known libraries or packages that can support this functionality. 我觉得这种任务必须经常完成,但我无法找到任何可以支持此功能的广为人知的库或包。 For example, this could be useful for Conway's Game of Life. 例如,这可能对康威的生命游戏有用。

Looks like MASON is the answer: 看起来MASON就是答案:

http://www.cs.gmu.edu/~eclab/projects/mason/ http://www.cs.gmu.edu/~eclab/projects/mason/

for those who are curious 对于那些好奇的人

Have you looked at Processing? 你看过Processing吗? There are numerous cellular automata implementations, including this fairly detailed example: 有许多细胞自动机实现,包括这个相当详细的例子:

http://processing.org/learning/topics/wolfram.html http://processing.org/learning/topics/wolfram.html

Have you considered game engines? 你考虑过游戏引擎吗? These are not actually aimed for drawing cellular automata, but can help a lot with drawing of 2d-graphics in general: 这些实际上并不是为了绘制细胞自动机,但通常可以帮助绘制2d图形:

Slick2D Slick2D
Golden T Game Engine (GTGE) Golden T游戏引擎(GTGE)
LightWeight Java Game Library (LWJGL) LightWeight Java游戏库(LWJGL)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM