Skip to content

Double Waves as a background.作为一个背景的双层波浪。

License

Notifications You must be signed in to change notification settings

NickKJ/WavesView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WavesView

Double Waves as a background

作为一个背景的双层波浪

   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资源。其他两种方式略有卡。

Shader Way

img image

Calculate Way

img image

Animation Way

img image

ValueAnimation Way

img image

About

Double Waves as a background.作为一个背景的双层波浪。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages