mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
- 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>
35 lines
990 B
HTML
35 lines
990 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Background Image</title>
|
|
<style>
|
|
body { margin: 0; background: #222233; }
|
|
canvas { display: block; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas id="canvas" width="800" height="600"></canvas>
|
|
<script>
|
|
const canvas = document.getElementById('canvas');
|
|
const ctx = canvas.getContext('2d');
|
|
|
|
// Fill background
|
|
ctx.fillStyle = '#222233';
|
|
ctx.fillRect(0, 0, 800, 600);
|
|
|
|
// Add some pattern
|
|
ctx.fillStyle = '#1a1a2a';
|
|
for (let i = 0; i < 100; i++) {
|
|
const x = Math.random() * 800;
|
|
const y = Math.random() * 600;
|
|
const size = Math.random() * 5 + 2;
|
|
ctx.fillRect(x, y, size, size);
|
|
}
|
|
|
|
// Instructions
|
|
ctx.fillStyle = '#ffffff';
|
|
ctx.font = '20px Arial';
|
|
ctx.fillText('Right-click and save this image as background.png', 200, 300);
|
|
</script>
|
|
</body>
|
|
</html>
|