Code Archive Skip to content Google About Google Privacy Terms
ãããµã2010ã®html5ã»ãã·ã§ã³ã§è¦ããã¢ï¼Movement trackerï¼*1 ãã è¡æçã ã£ãã®ã§ video x canvas ãã¡ãã£ã¨åå¼·ããã ï¼ï¼videoã®ä»»æã®ãã¬ã¼ã ããã®ã¾ã¾canvasã«æç»ããã¦ã¿ã htmlã®bodyã«æ¸ãã«ã¯ããã ãã <video id="v" src="video.ogv" autobuffer controls></video> <canvas id="c"></canvas> <input type="button" value="copy frame" onclick="copyFrame()" /> copy frameãã¿ã³ã§å¼ã³åºãããjavascriptã¯ãããªæãã function copyFrame() { var cEle = document.getElementById('c'); var cCtx =
追è¨: uupaa-excanvas.js ããªãªã¼ã¹ãã¾ããã excanvas.js 㯠IE 㧠canvas è¦ç´ ã®ã¨ãã¥ã¬ã¼ããè¡ã Google 謹製㮠JavaScript ã©ã¤ãã©ãªã§ãã ãã®ã©ã¤ãã©ãªã¯ãæåã®ã¨ã£ããããçµæ§é£ããã§ãã å®ä½é¨ãå ã«ããããªãã¤ã³ããåæãã¦ã¿ã¾ãã åçã«çæããcanvasè¦ç´ ã¯ãããã«ããã¥ã¡ã³ãããªã¼ã«è¿½å ãããã®å ´ã§åæåããå¿ è¦ãããã 以ä¸ããåçã«canvasè¦ç´ ãçæã2Dã³ã³ããã¹ããåå¾ããä¾ã§ããã⦠var e = document.createElement("canvas"); document.body.appendChild(e); var ctx = e.getContext("2d"); ä¸è¨ã®ã³ã¼ãã§ã¯ãIEã§ã¯åä½ãã¾ãã(Firefox,Safari,Operaã¯OK)ã åçã«çæããca
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}