if (temperature != null) {
simulation.getContext().setTemperature(temperature.doubleValue());
}
JsonNumber brightness = simulationObject.getJsonNumber("brightness");
if (brightness != null) {
simulation.getContext().setBrightness(brightness.doubleValue());
}
JsonArray colorArray = simulationObject.getJsonArray("lightColor");
if (colorArray != null && colorArray.size() == 3) {
simulation.getContext().setLightColor(