我正在编写一个动画网络,可以将布局从树变为希尔伯特曲线,反之亦然。在希尔伯特模式中,我希望世界像圆环一样包裹。
所有其他时间我希望世界成为一个盒子。从3.1开始,NetLogo中不再有任何无包装距离原语,但有没有办法在我的程序中设置世界的包装?用户指南和Netlogo词典都没有提到这一点。
答案 0 :(得分:3)
目前,您可以使用[
{
id: 4,
author: null,
image_name: "banner1.png",
category: null,
intro: "Hello World!",
},
{
id: 3,
author: null,
image_name: "banner1.png",
category: {
id: 3,
name: "big data",
},
intro: "Hello World!",
},
{
id: 2,
author: {
id: 2,
email: "foo@foo.foo",
fullname: "foo foo",
is_admin: false,
},
image_name: "banner1.png",
category: {
id: 2,
name: "science",
},
intro: "Hello World!",
},
{
id: 1,
author: {
id: 1,
email: "superuser@superuser.com",
fullname: "superuser superuser",
is_admin: true,
},
image_name: "banner1.png",
category: {
id: 1,
name: "web dev",
},
intro: "Hello World!",
}
]
。看到
https://groups.google.com/forum/#!topic/netlogo-devel/bQeerTqb-R4