canvas-clouds:使用HTML5 Canvas生成过程云

时间:2024-05-31 17:36:45
【文件属性】:

文件名称:canvas-clouds:使用HTML5 Canvas生成过程云

文件大小:6KB

文件格式:ZIP

更新时间:2024-05-31 17:36:45

JavaScript

画布appendCloud 使用HTML5 Canvas生成过程云 入门 var canvas = document . createElement ( "canvas" ) ; canvas . width = 800 ; canvas . height = 900 ; var context = canvas . getContext ( "2d" ) ; context . appendCloud ( { // Cloud radius radius : 60 , // Center of the cloud coordinates [x, y]. If null, it's to the top-left of the canvas // Can also be an array of coordinates if the cloud have many pos


【文件预览】:
canvas-clouds-master
----canvas.appendCloud.js(7KB)
----example.html(3KB)
----LICENSE(1KB)
----.gitignore(10B)
----README.md(3KB)

网友评论