# How to draw dynamic line like this with gradient color？

**URL:** <https://community.cesium.com/t/how-to-draw-dynamic-line-like-this-with-gradient-color/4987>\
**Category:** CesiumJS\
**Created:** [January 5, 2017, 2:06pm UTC](https://community.cesium.com/t/how-to-draw-dynamic-line-like-this-with-gradient-color/4987 "2017-01-05T14:06:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhiwei\_He](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@Zhiwei\_He](https://community.cesium.com/u/Zhiwei_He)\
**Post date:** [January 5, 2017, 2:06pm UTC](https://community.cesium.com/t/how-to-draw-dynamic-line-like-this-with-gradient-color/4987/1 "2017-01-05T14:06:32Z")

</div>

Note that: This photo was taken from [http://cesiumjs.org/demos/CubeGlobe.html](http://cesiumjs.org/demos/CubeGlobe.html).

[![](https://lh3.googleusercontent.com/-K31WDl5UXBo/WG5Sof8bGLI/AAAAAAAAAAs/X_SJ8iIYlC0FM1kXCi1l_9R_2qQMI_kMQCLcB/s320/%25E5%25B1%258F%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7%2B2017-01-05%2B%25E4%25B8%258B%25E5%258D%25889.56.21.png)](https://lh3.googleusercontent.com/-K31WDl5UXBo/WG5Sof8bGLI/AAAAAAAAAAs/X_SJ8iIYlC0FM1kXCi1l_9R_2qQMI_kMQCLcB/s1600/%25E5%25B1%258F%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7%2B2017-01-05%2B%25E4%25B8%258B%25E5%258D%25889.56.21.png)
