Create reflected image with HTML Canvas?

前端 未结 4 905
长发绾君心
长发绾君心 2021-01-01 05:05

I have the following code which tries to combine a vertical mirrored image with a transparent to background color gradient. When combining these two effects it fails, do I n

4条回答
  •  离开以前
    2021-01-01 06:00

    Using a second canvas doesn't provide a very convincing gradient overlay. May have to go with a gradient PNG for decent results.

    
    
    
        
        
        
    
    
        

提交回复
热议问题