Current collected state Current
Observed since 20 Oct, 19:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A customizable 3D grass-textured title web component using Lit + TypeScript + Three.js
A customizable 3D grass-textured title web component using Lit + TypeScript + Three.js.
npm install 3d-grass-title
<script type="module">
import '3d-grass-title';
</script>
<grass-title text="Your Title Here"></grass-title>
<grass-title
text="Columbus Reclaimed"
color="#66ff99"
light-intensity="2"
rotation="[0, 0.3, 0]"
camera-distance="6"
link="https://example.com"
></grass-title>
| Property | Type | Default | Description |
|---|---|---|---|
text | string | 'Welcome' | The text to display |
color | string | '#33ff33' | Base color of the grass shader |
lightIntensity | number | 1.2 | Intensity of the directional light |
rotation | [number, number, number] | [0, 0, 0] | Rotation angles in radians [x, y, z] |
cameraDistance | number | 6 | Distance of the camera from the text |
fontUrl | string | undefined | URL to a custom Three.js font JSON file |
link | string | undefined | URL to navigate to when clicked (with particle spread animation) |
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Build demo site
npm run build:demo
# Type check
npm run typecheck
Visit the live demo to see the component in action and experiment with different settings.
MIT
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7743ce9ad98ac98c42b4bdf29fe8ffaad1f4b01cf539429e97b6d8b06d9bf43d