+ preferences: [
+ {name: "intensity", label: "Intensity", kind: "Slider", maximum: 1, minimum: 0, snap: 0.01},
+ {name: "rainColor", label: "Rain Color", kind: "ListSelector", items: ["gray", "black", "blue", "red"]},
+ {name: "backgroundColor", label: "Background Color", kind: "ListSelector", items: [
+ {caption: "white", value: 'rgba(255,255,255,0.7)'},
+ {caption: "black", value: 'rgba(0,0,0,0.7)'}
+ ]}
+ ],
+ intensity: 0.7,
+ rainColor: 'gray',
+ backgroundColor: 'rgba(255,255,255,0.7)',