你拥有的唯一真正财富就是你的时间,你一生里的分分秒秒。

my line dot background

Nov 29, 2015

Yesterday I build a page to use a canvas as background full of dots and lines. And the screenshot is something below:

line-dot-background.gif

And I put it in my github.Feel free to use it or change it.

The most difficult part is cleaning the previous drawing. Thanks for the help come from stackoverflow, which let me know the composition of canvas.

References:

  1. html5-canvas-clear-arc-method
  2. Drawing shapes with canvas
  3. Compositing and clipping
  4. ECMAScript 6 — New Features: Overview & Comparison
* 如果你有任何意见或建议,欢迎提交 issue。Thanks。
  • ShallmentMo's Blog
  • about me
  • ShallmentMo
  • ShallmentMo