# Tiling a curved surface with a white-to-blue gradient

**URL:** <https://discourse.mcneel.com/t/tiling-a-curved-surface-with-a-white-to-blue-gradient/176417>\
**Category:** Grasshopper\
**Tags:** windows, rhinocommon, rhino7, grasshopperrhino\
**Created:** [February 23, 2024, 10:11am UTC](https://discourse.mcneel.com/t/tiling-a-curved-surface-with-a-white-to-blue-gradient/176417 "2024-02-23T10:11:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![laurent\_delrieu](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/laurent_delrieu/32/601605_2.png) [@laurent\_delrieu](https://discourse.mcneel.com/u/laurent_delrieu)\
**Post date:** [February 23, 2024, 6:33pm UTC](https://discourse.mcneel.com/t/tiling-a-curved-surface-with-a-white-to-blue-gradient/176417/2 "2024-02-23T18:33:50Z")

</div>

Hello  
finding center lines is not an easy task as center is not well defined. It seems best to draw the center lines using Rhinoceros.

I tried an approach that could help you a bit. The idea is to put weights on high curvature parts. Then smooth the weight using some smoothing or “Heat”

> [@Heat Method](https://discourse.mcneel.com/t/heat-method/105135):
>
> A script demonstrating the Heat Method for Distance Computation, as described [here](https://www.cs.cmu.edu/~kmcrane/Projects/HeatMethod/) This came up recently in another [thread](https://discourse.mcneel.com/t/discrete-laplacian/104678), and I thought others might find it an interesting example. It is a fast way of getting approximate geodesic distances from a given point to all points on a mesh. Here solved in an iterative fashion, without any extra numerics library. This is not the fastest way to do it, but it does let you see what’s going on and interact with it. [HeatMethod2.gh](https://discourse.mcneel.com/uploads/short-url/u9Ytvnv1ytwnEk6NrQPVXkAF3Dk.gh) (163.7 KB) (\*edi…

here I use my tools from Nautilus

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/4/a/74a14e543fc23b1fa0fed0425440bd368a888eff.jpeg)

Then I transform the weights on vertices to a Vector field.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/2/7/62726873106950cb5224920d87d1d7c4dc3b891a.jpeg)  
Mesh iso splitting could also help  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/b/b/bbb23698b4641f432df3ec590ba97be909f6a932.jpeg)  
[mesh middle.gh](https://discourse.mcneel.com/uploads/short-url/fi24SdgHtLNHTKEtxFoYq6Mcpxs.gh) (177.6 KB)

---

_[View the full topic](https://discourse.mcneel.com/t/tiling-a-curved-surface-with-a-white-to-blue-gradient/176417)._
