add weather box

This commit is contained in:
ericrius1 2016-01-15 15:37:52 -08:00
parent dcb346fffb
commit d54c177a5f

View file

@ -32,9 +32,9 @@ function createNode(position) {
position: position, position: position,
dimensions: sphereDimensions, dimensions: sphereDimensions,
color: { color: {
red: 128, red: 10,
green: 128, green: randInt(100, 150),
blue: 128 blue: 10
}, },
lifetime: 3600, // 1 hour; just in case, lifetime: 3600, // 1 hour; just in case,
collisionsWillMove: true collisionsWillMove: true
@ -46,8 +46,8 @@ function createNode(position) {
"position": position, "position": position,
parentID: sphere, parentID: sphere,
"isEmitting": true, "isEmitting": true,
"maxParticles": 1000, "maxParticles": 10000,
"lifespan": 5, "lifespan": 2,
"emitRate": 1000, "emitRate": 1000,
"emitSpeed": 0.025, "emitSpeed": 0.025,
"speedSpread": 0, "speedSpread": 0,
@ -72,7 +72,7 @@ function createNode(position) {
"blue": 255 "blue": 255
}, },
color: { color: {
red: 10, green: 10, blue: 200 red: 100, green: 100, blue: 200
}, },
"colorFinish": { "colorFinish": {
"red": 200, "red": 200,