update set demo
This commit is contained in:
parent
8d3a4319ac
commit
e0c4f7a67c
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue