feat: component editor

This commit is contained in:
2026-04-30 15:14:02 +07:00
parent 2319f2549b
commit 04c7310749
3 changed files with 220 additions and 19 deletions
@@ -1,8 +1,8 @@
import { FunPenComponent } from '/src/components/base.mjs';
class SonicDiamond extends FunPenComponent {
static origin = { x: 9, y: 9 };
static baseSize = { w: 18, h: 18 };
static origin = { x: 5, y: 5 };
static baseSize = { w: 10, h: 10 };
static presetProps = {
shape: ['classic', 'elongated', 'flat', 'round', 'raw'],