Forked from: FumioNonaka's EaselJS 0.7.1: Smooth Line View Diff (11)

EaselJS 0.7.1: Smooth Line tuned

FumioNonaka

License: MIT License

Fork
5
Fav
11
View
15035
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 82 lines
  • HTML 3 lines
  • CSS 14 lines

gihyo.jp連載「HTML5のCanvasでつくるダイナミックな表現―CreateJSを使う」
第23回「マウスポインタの軌跡を滑らかな線で描きながら消す」から2回にわたって解説を開始。なお、「EaselJS 0.7.1: サンプル『Smooth Line』」を参照。


This code is revised version of the "Smooth Line". Changes of the line thickness is eased and the animation uses requestAnimationFrame as timing mode.

  • EaselJS 0.7.1: Smooth Line tuned
  • EaselJS 0.7.1: Smooth Line tuned

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by

Forked

sort by