 chroma.scale('OrRd').domain(range);

      const windLayer = new OlWind.WindLayer(res, {
        windOptions: {
          colorScale: (m) => {
            // console.log(m);
            return '#ff473c';
          },
          // colorScale: scale,
          velocityScale: 1 / 200,
          paths: 5000,
          // particleMultiplier: 0.3 * 10,
        },
      });

      console.log(map, windLayer);

      layer = windLayer;

      layer.appendTo(map);
    });
</script>
</body>
</html>
