managarten/games/whopixels/assets/tile.html
Till-JS 5b1e12e5d6 feat: add new projects bauntown, presi, voxel-lava, whopixels
- apps/bauntown: Developer community website (Astro landing)
- apps/presi: Presentation project
- games/voxel-lava: Voxel lava game (SvelteKit)
- games/whopixels: Whopixels game

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 15:11:53 +01:00

27 lines
829 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Tile Image</title>
<style>
body { margin: 0; background: #333; display: flex; justify-content: center; align-items: center; height: 100vh; }
canvas { display: block; border: 1px solid #fff; background: #000; }
</style>
</head>
<body>
<canvas id="canvas" width="32" height="32"></canvas>
<script>
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
// Draw tile
ctx.fillStyle = '#ffffff';
ctx.fillRect(0, 0, 32, 32);
ctx.strokeStyle = '#cccccc';
ctx.lineWidth = 1;
ctx.strokeRect(0.5, 0.5, 31, 31);
// Instructions (shown in console)
console.log('Right-click and save this image as tile.png');
</script>
</body>
</html>