update set demo

This commit is contained in:
“chrisshank” 2024-12-08 16:29:24 -08:00
parent 8d3a4319ac
commit e0c4f7a67c
1 changed files with 7 additions and 1 deletions

View File

@ -26,14 +26,20 @@
pointer-events: none;
background-color: #b4d8f669;
}
h1 {
margin: 0;
width: fit-content;
}
</style>
</head>
<body>
<h1>This is a Convex Hull</h1>
<folk-shape x="50" y="100" width="50" height="50"></folk-shape>
<folk-shape x="200" y="200" width="50" height="50"></folk-shape>
<folk-shape x="100" y="300" width="50" height="50"></folk-shape>
<folk-hull sources="folk-shape"></folk-hull>
<folk-hull sources="h1, folk-shape"></folk-hull>
<script type="module">
import '../src/standalone/folk-shape.ts';