crowds/js/chapters/J_Sandbox.js

46 lines
545 B
JavaScript
Raw Normal View History

2018-04-01 16:34:52 +00:00
SLIDES.push(
{
2018-04-04 15:57:35 +00:00
chapter: "Sandbox",
clear:true,
add:[
2018-04-06 16:06:55 +00:00
2018-04-04 15:57:35 +00:00
// The fullscreen simulation
{
type:"sim",
x:0, y:0,
fullscreen: true,
network: {
2018-04-13 20:58:04 +00:00
"contagion":0.25,
"peeps":[[506,195,1],[621,270,0],[724,194,0]],
2018-04-04 15:57:35 +00:00
"connections":[[0,1,0],[1,2,0]]
2018-04-13 20:58:04 +00:00
},
2018-04-06 16:06:55 +00:00
},
// The Sandbox UI
{
type:"box",
x:0, y:0,
sandbox:true
},
// Simulation UI
{
type:"box",
2018-04-27 12:24:33 +00:00
x:35, y:385,
2018-04-06 16:06:55 +00:00
sim_ui:"red"
2018-04-13 20:58:04 +00:00
},
// Words
{
type:"box",
2018-04-27 12:24:33 +00:00
text:"sandbox_caption",
x:660, y:500, w:300, h:40,
align:"right"
}
2018-04-06 16:06:55 +00:00
2018-04-04 15:57:35 +00:00
]
2018-04-01 16:34:52 +00:00
}
);