This is a "Double Waves View" for background.Of course, you can add a few layers, or remove a layer.
Can be adjusted according to demand, specifically to see the method in the class inside.
这是一个作为背景图的双层波浪。当然也可以再叠加几层,或者去掉一层。可以根据需求调整,具体看我写在里面的方法就好。
By comparing the four implementations, it is found that the Shader mode works best and the Calculation mode works well but takes up the cpu resource. The other two ways are not smmooth.
通过对比四种实现方试,发现Shader方式效果最好,Calculation 方式效果好但是占用cpu资源。其他两种方式略有卡。