矩形と線分の当たり判定

sapphire_al2o3

License: MIT License

Fork
2
Fav
3
View
6149
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 127 lines
  • HTML 5 lines
  • CSS 6 lines
マウスで引いた線分と矩形があたっていた場合、線分が赤くなる
Google Chrome 13で確認
  • 矩形と線分の当たり判定
  • vector utility
  • 矩形と線分の当たり判定

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

sapphire_al2o3

Author

twitter @sapphire_al2o3

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by

Forked

sort by