Svelte Drawing Canvas with Tailwind CSS

This project is a simple drawing application built with Svelte and Tailwind CSS. It allows users to draw on an HTML5 canvas, change the drawing color, line width, line cap, and background color.

Features

  • Draw on the canvas using mouse events.
  • Select different drawing colors.
  • Adjust the line width for drawing.
  • Change the line cap style.
  • Set the background color of the canvas.
  • Clear the canvas.

Prerequisites

  • Node.js (v14 or later)
  • npm (v6 or later)