Heatmap - Applying a gradient effect on Metaball(t) Custom polylines

Hi all,

Newbie here! I’m using Metaball(t) with xy points to create a custom 2D heat-map. I’m having difficulty listing the polylines data so that the gradient creates the desired heat map effect. Below is my script and baked geometry:

Any clues on to linking the list on the lower and upper limits of the gradient? Many thanks!

Metaball HotSpots.gh (22.5 KB)
Hotspots.3dm (14.3 MB)

best,

Alejandro.