{"_id":"@crazygl/hero-typography-as-terrain","name":"@crazygl/hero-typography-as-terrain","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-typography-as-terrain","version":"0.1.1","description":"Typography as Terrain — A bold headline is rasterised into a heightmap and extruded into a 3D landscape — the letters rise out of the ground as carved plateaus and ridges, lit by a low sun with drifting cloud shadows… A customizable CrazyGL animated hero ","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./metadata.json":"./metadata.json","./style.css":"./style.css"},"dependencies":{"@crazygl/core":"^0.1.1","three":"^0.184.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/typography-as-terrain","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-typography-as-terrain.git"},"publishConfig":{"access":"public"},"keywords":["typography","terrain","heightmap","three","landscape","experimental","agency","portfolio","shader","typography-as-terrain","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-typography-as-terrain/issues"},"gitHead":"2fdc01eb3f90508016cbc0f031367a6f9a851499","_id":"@crazygl/hero-typography-as-terrain@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-wJkhed9z6swdnU9toRaLiNpt3J7O371L3x5GY/qIKv9fx00CnboFTvx6UDmBMzThCoHI/LcU7ZKVxaLxHnE8Zw==","shasum":"d4f0ba38602a5a62da53d714256cfa74800016ef","tarball":"https://registry.npmjs.org/@crazygl/hero-typography-as-terrain/-/hero-typography-as-terrain-0.1.1.tgz","fileCount":9,"unpackedSize":92629,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCchyyRvJzoBgYyGkhdGIXsgiVmLeb7rlcC5RBhHKRq0QIhAPG6BisqOSRCvOXZSIMAgZHYRIL1rOCJqniYdiAI81gg"}]},"_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"directories":{},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hero-typography-as-terrain_0.1.1_1782922744627_0.05423924599179353"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:19:04.414Z","0.1.1":"2026-07-01T16:19:04.753Z","modified":"2026-07-01T16:19:04.970Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Typography as Terrain — A bold headline is rasterised into a heightmap and extruded into a 3D landscape — the letters rise out of the ground as carved plateaus and ridges, lit by a low sun with drifting cloud shadows… A customizable CrazyGL animated hero ","homepage":"https://crazygl.com/hero/typography-as-terrain","keywords":["typography","terrain","heightmap","three","landscape","experimental","agency","portfolio","shader","typography-as-terrain","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-typography-as-terrain.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-typography-as-terrain/issues"},"license":"Apache-2.0","readme":"<sub>*Hero made by [@ybouane](https://x.com/ybouane).*</sub>\n<p align=\"center\">\n  <img src=\"https://crazygl.com/heroes/hero-typography-as-terrain/banner-full.png\" alt=\"Typography as Terrain\" width=\"640\">\n</p>\n\n# @crazygl/hero-typography-as-terrain\n\nA bold headline is rasterised into a heightmap and extruded into a 3D landscape — the letters rise out of the ground as carved plateaus and ridges, lit by a low sun with drifting cloud shadows and atmospheric haze. A fixed aerial-oblique camera keeps the word readable, and the pointer orbits the terrain for parallax.\n\n## Demo\n[Typography as Terrain](https://crazygl.com/hero/typography-as-terrain)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-typography-as-terrain\n```\n\n## Usage\n\n```tsx\nimport TypographyAsTerrain from '@crazygl/hero-typography-as-terrain';\n\nexport default function Hero() {\n  return (\n    <TypographyAsTerrain\n      heading=\"HORIZONS\"\n      extrudeHeight={0.54}\n      cameraElevation={40}\n    />\n  );\n}\n```\n\nThe terrain is built entirely from the word you type — no separate texture or art to supply — and honours your selected heading font and weight.\n\n## Customise\n\n- **Content** — `heading` (ALL-CAPS, 5–10 chars reads best), `subheading`, `ctaLabel`, `onCTAClick` (URL or function).\n- **Terrain** — `extrudeHeight`, `heightmapBlur` (edge softness), `duneBaseSpread` (dune skirt width), `terrainSize`, and base-hill `baseTerrainAmplitude/Scale/Octaves`.\n- **Camera** — `cameraElevation`, `cameraAzimuth`, `cameraDistance`, `parallaxStrength`.\n- **Material** — `lowColor`, `midColor`, `highColor` (elevation bands).\n- **Lighting** — `sunAngleX/Y`, `sunIntensity`, `fogColor`, `fogDensity`, `ambientMotion`.\n- **Typography** — `headingFontFamily`, `headingFontWeight`.\n\n## Best for\n\n- Creative studios and design agencies.\n- Portfolio, \"about\", and editorial headers carried by one confident word.\n- Conference and festival landing pages.\n\n\n\nThis hero is part of [CrazyGL](https://crazygl.com), a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready `SKILL.md` file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.\n","readmeFilename":"README.md","_rev":"1-9dbf96fc14f5ca7d90d6c4430f2732ba"}