Forked from: piyotori's draw with alpha pen View Diff (25)

forked from: draw with alpha pen

piyotori

License: MIT License

Fork
0
Fav
0
View
945
  • Play

Fullscreen

Smart Phone

  • Readme
  • JavaScript 149 lines
  • HTML 3 lines
  • CSS 2 lines
alpha = 0.5 でstroke.
mousemoveでリアルタイムに描画すると
alphaが活きないのでevent発生の度に,
closepath-beginpath繰り返しているが,
それだと線が汚いので最後に描画し直す
-> "描画し直し"を mousemove での処理に組み込んだら
それでよかった件
* 問題は一筆中の重なりがなくなってしまうこと
-----------------------------------------
  • forked from: draw with alpha pen
  • forked from: draw with alpha pen

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

piyotori

Author

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags