Skip to content

Commit 4b4fea7

Browse files
Update README.md
1 parent 319bfae commit 4b4fea7

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# polycss
66

7-
A CSS polygon mesh engine. A 3D renderer for the DOM. Renders OBJ, glTF, GLB and VOX as real HTML elements transformed with CSS `matrix3d(...)`. Supports colors, textures, lighting, shadows, controls, shapes and animation. Works with React, Vue, custom elements, or plain JavaScript.
7+
A CSS polygon mesh engine. A 3D renderer for the DOM. Renders OBJ, glTF, GLB and VOX as real HTML elements transformed with CSS `matrix3d(...)`. Supports colors, textures, lighting, shadows, controls, shapes and animations. Works with React, Vue, custom elements, or plain JavaScript.
88

99
Visit [polycss.com](https://polycss.com) for docs and model examples.
1010

@@ -55,23 +55,6 @@ export default function App() {
5555
}
5656
```
5757

58-
The Vue package mirrors the same names and props with Vue casing:
59-
60-
```vue
61-
<template>
62-
<PolyCamera :rot-x="65" :rot-y="45">
63-
<PolyScene texture-lighting="dynamic">
64-
<PolyOrbitControls drag wheel />
65-
<PolyMesh src="/gallery/obj/cottage.obj" mtl="/gallery/obj/cottage.mtl" />
66-
</PolyScene>
67-
</PolyCamera>
68-
</template>
69-
70-
<script setup lang="ts">
71-
import { PolyCamera, PolyScene, PolyOrbitControls, PolyMesh } from "@layoutit/polycss-vue";
72-
</script>
73-
```
74-
7558
## API Reference
7659

7760
### PolyCamera
@@ -179,8 +162,6 @@ polycss renders in the DOM, so performance is mostly determined by how many poly
179162
- Voxel-shaped meshes mount only camera-facing leaves when the mesh is eligible.
180163
- `meshResolution: "lossy"` can merge compatible polygons to reduce DOM node count.
181164

182-
For diagnostics, all renderer packages export `collectPolyRenderStats(root)`, which returns mounted polygon leaf counts, shadow counts, surface categories, and bucket counts for an already-rendered scene.
183-
184165
## Packages
185166

186167
| Package | Description |

0 commit comments

Comments
 (0)