[READ-ONLY] Mirror of https://github.com/probablykasper/canvas-experiments. Just me learning to use HTML canvas canvas-experiments.kasper.space
canvas html5-canvas website
0

Configure Feed

Select the types of activity you want to include in your feed.

Removed touch gestures from canvas

e.g drawing downwards might reload Chrome on Android

+4 -4
+1 -1
9/index.html
··· 9 9 <link rel="stylesheet" type="text/css" href="../css/home.css?r=<?=rand(0,999)?>"> 10 10 </head> 11 11 12 - <body class="9" style="background-color:#2B2330"> 12 + <body class="nine" style="background-color:#2B2330"> 13 13 <section class="main"> 14 14 <canvas style="background-color:#303039"></canvas> 15 15 </section>
+1 -1
9/index.php
··· 9 9 <link rel="stylesheet" type="text/css" href="../css/home.css?r=<?=rand(0,999)?>"> 10 10 </head> 11 11 12 - <body class="9" style="background-color:#2B2330"> 12 + <body class="nine" style="background-color:#2B2330"> 13 13 <section class="main"> 14 14 <canvas style="background-color:#303039"></canvas> 15 15 </section>
+1 -1
css/home.css
··· 6 6 7 7 section canvas { position: relative; transform: translate(-50%, -50%); top: 50%; left: 50%; display: block; } 8 8 9 - body.9 section canvas { touch-action: none; } 9 + body.nine section canvas { touch-action: none; }
+1 -1
css/home.sass
··· 18 18 // width: 300px 19 19 // height: 150px 20 20 display: block 21 - body.9 section canvas 21 + body.nine section canvas 22 22 touch-action: none