




























What's the idea of drawing such lines in the following demo? Drawing a single line with trailing effects might be simple. But those lines are also turning their directions.
http://uber.github.io/deck.gl/#/examples/custom-layers/trip-routes
you can pass in UV coordinates for lines or generate one then use that to color the line. Pass in time to scroll something like
Of course you can also use a texture instead of code for the colors
The question and quoted portions thereof are CC BY-SA 3.0 by K.Miao from here
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。