Add very basic mouse tracking via events, needs improvements as events are not reliable
This commit is contained in:
18
index.html
Normal file
18
index.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
<script type="text/javascript" src="main.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<canvas id="drawImage"></canvas>
|
||||
<label> Color: <input type="color" id="drawColor" /></label>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user