My presentations, using Reveal.js (mostly in Portuguese).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
395 B

<!DOCTYPE html>
<html>
<head>
<style>
body { background-color: darkgray; }
</style>
</head>
<body>
<canvas id='example' width='800' height='300'></canvas>
</body>
<script>
var canvas = document.getElementById('example');
var ctx = canvas.getContext('2d');
// master
ctx.fillStyle = 'rgb(0, 0, 0)';
ctx.strokeRect(10, 10, 50, 30);
ctx.fillText('Master', 15, 25);
</script>
</html>