# Competing on Visuals With three.js and Astro

> What three.js and Astro are, and how together they add 3D to a business website without slowing it down or hiding its words.

- Source: https://choatecatalysts.com/canon/threejs-astro-guide/
- Author: Douglas Choate, Choate Catalysts (https://choatecatalysts.com/craft/douglas-choate/)
- Published: 2026-10-19
- Updated: 2026-11-05
- Collection: The Canon (https://choatecatalysts.com/canon/)

---

A 3D visual that moves as the visitor scrolls can help a business website stand out.

Won’t 3D make the site slow, or bury the words people came to read? Used together, two free tools called three.js and Astro get around both problems.

## What three.js Is

three.js is a free toolkit that developers use to draw 3D graphics in a web browser. On a business website, that might be a product a shopper can turn and zoom, a 3D map, or a scene that changes as the page scrolls.

It was started by Ricardo Cabello, known online as [Mr.doob](https://canonical.com/blog/interview-with-mr-doob), who released the [first public version](https://github.com/mrdoob/three.js/commit/a90c4e107ff6e3b148458c96965e876f9441b147) in April 2010.

Less than a year later, in March 2011, a web standard called WebGL was [finalized](https://www.khronos.org/news/press/khronos-releases-final-webgl-1.0-specification). It lets web pages use the device’s graphics chip “without the need for plug-ins.” The announcement named three.js among the tools making it easy for developers to build 3D for the web.

Sixteen years after that first version, three.js was [downloaded more than 90 million times](https://api.npmjs.org/downloads/point/2026-10-01:2026-10-31/three) in October 2026 alone.

## What Astro Is

Astro is software that turns a site’s words and images into finished web pages.

Fred Schott and Nate Moore [introduced it](https://astro.build/blog/introducing-astro/) in June 2021 with a post called “Introducing Astro: Ship Less JavaScript.” JavaScript is the code that makes pages interactive, and too much of it slows a page down. Astro’s docs still promise [“Zero JS, by default.”](https://docs.astro.build/en/concepts/why-astro/) JavaScript is added only where a page needs it.

In January 2026, Cloudflare, the web infrastructure company, [bought the startup behind Astro](https://www.cloudflare.com/press/press-releases/2026/cloudflare-acquires-astro-to-accelerate-the-future-of-high-performance-web-development/) and [promised](https://blog.cloudflare.com/astro-joins-cloudflare/) to keep it open source. Astro’s team now has a large company behind it, and the software stays free for anyone to use.

## Why They Fit Together

On some sites, the visitor’s browser has to download and run a big batch of JavaScript before any words appear. Put a heavy 3D scene in that code and every visitor waits for it.

Astro keeps the words and the 3D apart. The headline, copy and photos arrive as HTML, the plain page format every browser and search engine can read. three.js loads only on the pages that use it, and Astro can hold it back until the visitor [scrolls to it](https://docs.astro.build/en/reference/directives-reference/).

The visitor can read the headline right away while the visual fills in behind it. If an older phone can’t keep up, or the 3D never loads, the words are still there.

## Why AI Tools Work Well With Both

Besides people and search engines, AI systems now fetch pages to answer questions. Vercel, a web hosting company, [found in December 2024](https://vercel.com/blog/the-rise-of-the-ai-crawler) that the crawlers behind ChatGPT and Claude don’t run JavaScript.

Those crawlers read a page only as it first arrives, before any JavaScript runs. If a site needs JavaScript to show its words, the crawlers miss them. On an Astro page they miss only the 3D, because the words are already [in the HTML](/canon/astro-in-the-ai-age/).

Whoever builds your site is likely using AI too. In Stack Overflow’s 2026 developer survey, [73% of respondents](https://survey.stackoverflow.co/2026/ai) said they use AI coding assistants and agents daily.

Both projects are open source, so their code, docs and examples are public, and AI coding tools have plenty to learn from. three.js alone has more than 600 [official examples](https://threejs.org/examples/).

three.js also publishes [instructions](https://threejs.org/docs/llms.txt) for AI models that steer them away from outdated code, and Astro lets coding tools [look up its latest documentation](https://docs.astro.build/en/guides/build-with-ai/) as they work.

[Astro Websites](/astro/) covers when Astro is the right call.
