描述一个 HTML5 Canvas 绘图应用:画笔、形状、文字、带混合模式的图层以及撤销/重做。
使用 HTML5 Canvas、CSS3 和 JavaScript 创建一个交互式绘图应用程序。构建一个界面简洁、工具选择直观的应用。实现多种绘图工具,包括画笔、铅笔、图形(形状)、文字和橡皮擦。添加颜色选择功能,支持最近使用颜色、颜色拾取器和调色板。包含图层支持,并提供不透明度与混合模式选项。实现带历史状态的撤销/重做功能。支持以多种格式(PNG、JPG、SVG)导入和导出图像。支持画布尺寸调整与旋转。实现缩放和平移导航功能。添加选择工具,并支持移动、缩放和变换操作。包含常用操作的键盘快捷键。
Create an interactive drawing application using HTML5 Canvas, CSS3, and JavaScript. Build a clean interface with intuitive tool selection. Implement multiple drawing tools including brush, pencil, shapes, text, and eraser. Add color selection with recent colors, color picker, and palettes. Include layer support with opacity and blend mode options. Implement undo/redo functionality with history states. Add image import and export in multiple formats (PNG, JPG, SVG). Support canvas resizing and rotation. Implement zoom and pan navigation. Add selection tools with move, resize, and transform capabilities. Include keyboard shortcuts for common actions.