Touch Grass Without Going Outside
Build and publish a 3D grass field that bends under your pointer.
Introduction
30 Second Summary
On Oct 8, 2026, Guronnimo posted, “made my own website so i can touch grass without going outside / One shotted with Opus 5.5”. The post had reached 199K views by Dec 3, 2026, after he replied, “Opus 5.5 made this grass in 20 minutes”.
In this project, you will direct Claude Code to build your own one-file three.js r187 grass field, make it react to mouse and touch input, then publish it online. Guronnimo summed up the joke with, “the idea is to stay inside for longer”.
What You'll Build
You'll move a mouse or finger through a unique 3D field, watch nearby grass bend and recover, switch the sky between three moods, then send the live grass link to a friend.
By the end of this project, you'll have:
- A field of wind-swept grass where individual blades move across a rolling hill.
- A pointer-driven interaction that bends nearby grass under a mouse or finger before the blades stand back up.
- A shareable live grass link on GitHub Pages with Golden hour, Night, and Morning buttons that change the sky.
- Secret Mission: Add Gladiator mode with tall golden wheat and an automatically drifting hand that gives control back when you move the mouse or use touch input.
Are there any prerequisites?
You'll need Claude Code access through a Pro, Max, Ultra, Team, Enterprise, or Console account. You'll also need internet access on macOS 13.0+, Windows 10 1809+, or Windows 11.
Before We Start
Before the hands-on work begins, lock in the interactive grass field you are about to create. Picture who you want to share the finished live grass link with.
Set Up Claude Code
Claude Code needs to be installed and running inside a dedicated folder before it can build your grass field.
The touch-grass folder gives Claude Code one clear place to work. Keeping it empty now makes the first generated file easy to spot in the next step.
In this step, get ready to:
- Install Claude Code on your computer.
- Create the empty touch-grass folder on your Desktop.
- Start Claude Code inside the touch-grass folder.
Install Claude Code
Claude Code uses a different native installation command on macOS and Windows. Choose the tab that matches your computer.
macOS
- Install Claude Code in Terminal by running this command:
- Press Cmd+Space to open your search bar.
- Type Terminal.
- Press Enter to open it.
curl -fsSL https://claude.ai/install.sh | bash
What does this command do?
This downloads the Claude Code installer from Claude's official domain. The installer adds the claude command to your computer.
When the installation finishes, Terminal returns to its command prompt without a failure message.
- Check the installation from a new Terminal window by running this command:
- Close the Terminal window used for installation.
- Press Cmd+Space to open your search bar again.
- Type Terminal.
- Press Enter to open a new window.
claude --version
What does this command do?
The --version option asks Claude Code to print its installed version. A version number confirms that the new Terminal window can find the claude command.
You should see a Claude Code version number.
Windows
- Install Claude Code in PowerShell by running this command:
- Press the Windows key to open your search bar.
- Type PowerShell.
- Press Enter to open it.
irm https://claude.ai/install.ps1 | iex
What does this command do?
This downloads the Claude Code installer from Claude's official domain. The installer adds the claude command to your computer.
When the installation finishes, PowerShell returns to its command prompt without a failure message.
- Check the installation from a new PowerShell window by running this command:
- Close the PowerShell window used for installation.
- Press the Windows key to open your search bar again.
- Type PowerShell.
- Press Enter to open a new window.
claude --version
What does this command do?
The --version option asks Claude Code to print its installed version. A version number confirms that the new PowerShell window can find the claude command.
You should see a Claude Code version number.
Git for Windows is optional. Claude Code uses PowerShell when Git for Windows is absent.
Installation complete. Claude Code can now start from a fresh terminal session.
Installation command failed?
- Confirm your computer runs macOS 13.0+, Windows 10 1809+, or Windows 11.
- Check your internet connection.
- Run the installation command for your platform again.
Help me fix my Claude Code installation
Start Claude Code in the touch-grass folder
Claude Code works with the files in its current folder. Starting it from touch-grass keeps every change inside your project.
- Create an empty folder named touch-grass on your Desktop.
macOS
- Press Cmd+Space to open your search bar.
- Type Finder.
- Press Enter to open it.
- Select your Desktop in the Finder sidebar.
- Press Shift-Command-N to create a new folder.
- Enter touch-grass as the folder name.
- Press Return to save the name.
Windows
- Press the Windows key to open your search bar.
- Type File Explorer.
- Press Enter to open it.
- Select your Desktop in the File Explorer navigation pane.
- Press Ctrl+Shift+N to create a new folder.
- Enter touch-grass as the folder name.
- Press Enter to save the name.
You should see an empty touch-grass folder on your Desktop.
macOS
- Set Terminal's working location to the touch-grass folder by running this command:
- Press Cmd+Space to open your search bar.
- Type Terminal.
- Press Enter to open it.
cd ~/Desktop/touch-grass
What does this command do?
The cd command changes Terminal's working folder. The ~ symbol points to your home folder.
- Complete the browser sign-in with your existing Claude account when Claude Code asks.
- Start Claude Code by running this command:
claude
What does this command do?
The claude command starts an interactive Claude Code session in Terminal. A first run can open a browser sign-in flow for your Claude account.
After sign-in, you should see the Claude Code welcome screen inside Terminal.
Windows
- Set PowerShell's working location to the touch-grass folder by running this command:
- Press the Windows key to open your search bar.
- Type PowerShell.
- Press Enter to open it.
Set-Location $HOME\Desktop\touch-grass
What does this command do?
The Set-Location command changes PowerShell's working folder. The $HOME value points to your home folder.
- Complete the browser sign-in with your existing Claude account when Claude Code asks.
- Start Claude Code by running this command:
claude
What does this command do?
The claude command starts an interactive Claude Code session in PowerShell. A first run can open a browser sign-in flow for your Claude account.
After sign-in, you should see the Claude Code welcome screen inside PowerShell.
Confirm Claude Code is in the folder
Before you ask, what ending do you expect Claude Code to report for its working path?
- Ask Claude Code to report its working folder by pasting this prompt:
What folder are you in?
What does this prompt check?
Claude Code reports the folder it can currently work inside. The path confirms whether your session started from the project folder.
You should see an answer with a path that ends in touch-grass.
Setup complete. Claude Code is signed in and ready to build inside your empty project folder.
Path does not end with touch-grass?
- Confirm the Desktop folder is named exactly touch-grass.
- Close the current Claude Code session.
- Repeat the folder-location command for your platform.
- Start Claude Code again from the corrected location.
Help me start Claude Code in the correct folder
Claude Code is ready in the right folder. Next up, you'll ask it to grow your first moving grass field.
Grow a Field of Grass
Claude Code is ready inside your touch-grass folder. Now that empty folder needs its first visible creation.
This first version gives you a grass field to admire. It sways in the wind, but it cannot react to you yet.
In this step, get ready to:
- Direct Claude Code to create the grass field in one index.html file.
- Open index.html directly without a server.
- Confirm that separate grass blades move in the wind.
Ask Claude Code to grow the field
Your browser can load three.js directly from jsDelivr. The import map keeps this project on release r187.
- Ask Claude Code to grow the field by pasting this prompt into your existing session:
Create a playful 3D touch-grass website from scratch. Keep everything in one index.html, load three.js from a CDN, no build step. Use an import map that maps three to https://cdn.jsdelivr.net/npm/three@0.187.0/build/three.module.js so the project uses three.js r187. Do not create any other files and do not install Node, npm, Vite, packages, or a local server.
Use WebGLRenderer and InstancedMesh to make many separate thin grass blades that visibly sway in a gentle wind. Place the field on a soft rolling hill with a warm golden-hour sky, a tree on the hill, and a few flowers. Make sensible performance choices and automatically use fewer grass blades on phones so the page stays smooth when friends open the live link. Keep all HTML, CSS, and JavaScript inline in index.html. The exact colours, blade count, flowers, and tree shape are up to you.
When finished, briefly tell me what you made without explaining the code line by line.
What does this prompt do?
The one-file boundary keeps all markup, styling, and behavior inside index.html. It also keeps packages and servers out of the project.
Using WebGLRenderer with InstancedMesh keeps the separate grass blades practical to render. The lower phone count protects the live version from unnecessary slowdown.
You should see Claude Code create only index.html inside touch-grass. Its reply briefly describes the moving grass field it made.
Open the grass field
The finished file can open directly in your browser. This keeps the project free from a local server or build process.
Before you send the next prompt, which motion do you expect to prove that the scene is running?
- Ask Claude Code to open the page directly by pasting this prompt:
Open index.html in my browser by opening the file directly. Do not start a server and do not install anything.
What does this prompt do?
This tells Claude Code to open the existing index.html file as it is. The no-server instruction preserves the one-file setup.
You should see separate grass blades moving in the wind on a rolling hill. The exact colours, blade count, flowers, and tree shape can differ between results.
Is the grass field slow?
- Ask Claude Code to reduce the blade count by pasting this prompt:
The page is slow. Halve the grass blade count in index.html, keep the automatic lower phone count, and open the file again.
This keeps the same field while asking Claude Code to render half as many blades. The automatic lower count for phones stays in place.
You should see the field reopen with smoother movement.
Help me troubleshoot a slow grass field
Is the page blank?
- Use your browser's developer tools to open its Console.
- Copy the complete red error from the Console.
- Ask Claude Code to repair index.html by pasting this prompt:
The page is blank. Here is the red Console error: [[CONSOLE_ERROR="paste the complete red error here"]]. Fix index.html only, keep the one-file CDN setup, and open it again.
This gives Claude Code the browser's exact failure while keeping the repair inside index.html.
You should see the repaired page reopen with separate grass blades moving in the wind.
Help me fix a blank grass field
That's the first visible win: your grass field now sways in the wind from one file. Next, you'll make the blades respond when you reach out to touch them.
Touch the Grass
Your wind-swaying field is alive, but it cannot notice you yet. The next layer connects your movement to the scene without changing the one-file setup.
This step uses Claude Code to fix the field's one-way motion by making the grass respond wherever you point.
In this step, get ready to:
- Make the grass bend under mouse and touch input.
- Add a playful hand cursor that follows the pointer.
Make the grass react
The existing field reacts only to wind. This update brings Raycaster and pointer events into the interaction so the same scene responds to a mouse or finger.
- Make the grass respond to pointer movement by sending this prompt in the Claude Code session from earlier:
Update index.html so the grass reacts to the pointer. Use three.js Raycaster to find the point on the ground under the mouse or finger. Push nearby blades away from that point, then make them spring smoothly back after the pointer leaves. Use pointer events so the same interaction works with a mouse and a finger. Keep everything in the same index.html and preserve the moving field. When finished, open the file again and describe the change in one plain sentence.
What does this prompt do?
Claude Code updates index.html so mouse and touch input affect the same patch of grass. The recovery motion brings each blade upright after the pointer leaves.
Claude Code updates only index.html. The browser reopens the local file directly.
- Move your mouse across the grass field.
You should see nearby grass bend away from the point beneath your pointer.
- Move the pointer away from the bent patch.
You should see the blades spring smoothly back while the wind keeps the whole field moving.
That's the first interaction working: the field responds to your movement while its wind animation continues.
Grass still only swaying?
- Confirm Claude Code says it updated index.html.
- Use the newly reopened page for the interaction check.
- Help me diagnose grass that does not bend.
Add the hand
The grass now reacts, but the normal arrow does not match the playful scene. A small hand makes the pointer feel like part of the field.
- Replace the arrow over the scene by sending this prompt in Claude Code:
Update index.html so the normal arrow is replaced over the scene by a small playful hand cursor that follows the pointer. It can be an emoji or a simple drawn hand. Keep mouse and touch interaction working, keep everything in index.html, and open the file again. Describe the change in one plain sentence.
What does this prompt do?
Claude Code adds a hand that follows pointer input over the scene. The existing mouse and touch behavior stays in the same index.html file.
Claude Code updates only index.html again. The browser reopens with a small hand over the scene.
Do you expect the hand, bending, and recovery to work together? Hold that prediction in mind before you test the finished interaction.
- Move your mouse across the grass field.
You should see the hand follow the pointer. Nearby blades still bend before standing back up after you move on.
- Try touch input on a phone if available.
On a touch device, you should see the same bend-and-recover behavior under your finger.
Your grass now reacts to a mouse or finger while a playful hand follows the interaction. Next up, you'll add three time-of-day modes without losing any of this movement.
Change the Time of Day
Your grass now bends under a mouse or finger. It springs back when the pointer moves away.
Claude Code remains open in the touch-grass folder. You are ready to add the next visual layer.
Your interactive field still has only one mood.
In this step, get ready to:
- Add Golden hour, Night, and Morning modes to the grass field.
- Add one personal touch to the scene.
Add the three time-of-day modes
Each mode changes the atmosphere of the same interactive field. Smooth transitions keep the scene feeling continuous as its lighting changes.
- Give Claude Code the mode requirements with this prompt:
Update index.html with three visible buttons named Golden hour, Night, and Morning. Golden hour should use warm low light. Night should use a dark blue sky with a moon, stars, and drifting glowing fireflies. Morning should use soft bright light and light mist. Fade the sky, lighting, and grass colour smoothly between modes instead of snapping. Keep the exact visual details flexible, keep pointer bending and the hand working in every mode, keep everything in index.html, and open the file again. Describe the change in one plain sentence.
What does this prompt do?
This prompt adds three moods while preserving your existing pointer interaction inside index.html.
- Paste the prompt into the input area at the bottom of Claude Code.
- Press Enter to send it.
You've just given one field three distinct moods. You should see visible Golden hour, Night, and Morning buttons on the reopened page.
Each button should change the sky with a smooth transition. The grass should keep moving throughout the change.
Make one playful change
A small personal choice makes your version feel different from every other generated field. Pick the detail that you most want to see or hear.
Purple Flowers
- Give Claude Code the flower request with this prompt:
Update index.html so the flowers use a playful purple colour. Keep all three modes and pointer bending working, then open the file again.
What does this prompt do?
This prompt changes the flowers while protecting the mode controls and bending grass.
- Paste the prompt into the input area at the bottom of Claude Code.
- Press Enter to send it.
Your playful detail is now part of the field. You should see purple flowers in the reopened scene.
More Fireflies
- Give Claude Code the firefly request with this prompt:
Update index.html so Night mode has more drifting fireflies without making the page noticeably slower. Keep all three modes and pointer bending working, then open the file again.
What does this prompt do?
This prompt increases the fireflies in Night while preserving the rest of the scene.
- Paste the prompt into the input area at the bottom of Claude Code.
- Press Enter to send it.
Your Night scene now has an extra visual detail. You should see more glowing fireflies when Night is active.
Wind Sound
- Give Claude Code the wind-sound request with this prompt:
Update index.html with a small control that lets me start and stop a gentle generated wind sound. Do not add an audio file. Keep all three modes and pointer bending working, then open the file again.
What does this prompt do?
This prompt generates wind sound inside index.html and adds a control for it.
- Paste the prompt into the input area at the bottom of Claude Code.
- Press Enter to send it.
Your scene now has a sound option. You should see a small control that starts or stops the generated wind sound.
Before you test, predict what should remain consistent while the mood changes.
- Switch the scene to Golden hour.
- Select Golden hour from the visible time-of-day controls.
You should see the sky change. The field should use warm low light.
- Switch the scene to Night.
- Select Night from the visible time-of-day controls.
You should see a dark blue sky with a moon and stars. Glowing fireflies should drift through the scene.
- Switch the scene to Morning.
- Select Morning from the visible time-of-day controls.
You should see the sky change to a brighter scene. Soft light and mist should appear.
- Test pointer bending in the active mode.
- Move your mouse across the field or drag a finger through it on a touch device.
You should see nearby grass bend under the pointer. The blades should stand back up after the pointer moves away.
You've now turned one responsive field into three moods without losing the interaction. Your selected detail makes the result recognisably yours.
Your three moods and personal touch are ready. Next up, you'll put the grass field online so someone else can touch it.
Put It Online
Your grass field now responds to mouse and touch input in all three moods. This final step gives it an address you can send to a friend.
Publishing through GitHub and GitHub Pages turns the local index.html into a live grass link that works beyond your computer.
In this step, get ready to:
- Create the public touch-grass repository with a README.
- Upload index.html through GitHub's web upload flow.
- Publish the grass field with GitHub Pages.
Create the touch-grass repository
GitHub Pages can publish this one-file site directly from a branch. On GitHub Free, the repository used for Pages must be public.
- Create a free personal account through GitHub sign-up if you do not have one.
- Complete email verification for your new account if GitHub requests it.
- Sign in through GitHub.
You should see your signed-in GitHub homepage.
- Create a public repository named touch-grass with a README.
- Click New repository.
- Select your account in the Owner dropdown.
- Enter touch-grass in the repository name field.
- Choose the public visibility option.
- Turn on the option to add a README.
- Click Create repository.
Your online home is ready. You should see the touch-grass repository open with its README.
Upload index.html
GitHub Pages looks for index.html at the top level of the publishing source. Uploading the current file preserves every interaction you tested locally.
- Add the current index.html from the touch-grass folder to the touch-grass repository through GitHub's web upload flow with the commit message Upload touch grass site.
- Select Add file above the repository file list.
- Select Upload files.
- Drop index.html from the touch-grass folder into the upload area.
- Enter Upload touch grass site as the commit message.
- Use the final control that saves the upload as a commit.
You should see index.html in the touch-grass repository's file list.
Publish with GitHub Pages
The repository now has the entry file GitHub Pages needs at its top level. Branch publishing fits this one-file site because there is no build process.
- Configure GitHub Pages to deploy from the main branch repository root.
- Open Settings in the touch-grass repository.
- Select Pages.
- Find Build and deployment.
- Set Source to Deploy from a branch.
- Select main in the branch dropdown.
- Choose the repository root folder in the folder dropdown.
- Click Save.
Once the first publication is ready, the Pages area reports Your site is live at and provides the live grass link. Its URL follows https://YOUR-USERNAME.github.io/touch-grass/.
Before you test the live site, do you expect every local interaction to behave the same way on your phone?
- Visit the live grass link at https://YOUR-USERNAME.github.io/touch-grass/ on a phone.
Seeing a 404?
The first GitHub Pages publication is not instant. An initial 404 can be part of the normal first-publish state.
- Refresh the live grass link a little later.
Ask for help with the publishing settings through this troubleshooting prompt.
- Drag a finger across the live grass field.
- Press Golden hour, Night, and Morning one at a time.
You should see nearby grass bend before it stands back up. The sky changes after every button press while the playful hand and your personal touch remain in the scene.
Your grass field now has a public home that works with mouse and touch input.
Secret mission
Gladiator Mode
Add a fourth mode that transforms the grass into tall golden wheat at sunset. The hand drifts through the wheat until mouse or touch input takes control.
Clean Up Your Resources
Clean Up Your Resources
The public GitHub Pages path used here adds no charge beyond your existing Claude plan. Decide whether to keep the site live, unpublish it for now, or delete the project entirely.
Resources you used:
- The touch-grass folder on your Desktop with its updated index.html file.
- The public touch-grass repository on GitHub with its README and committed index.html file.
- The live grass link at https://YOUR-USERNAME.github.io/touch-grass/ deployed from the main branch repository root.
Keep everything running
No action needed. Choose this if you want to keep sharing or changing your interactive grass field.
- The live grass link stays available with all four modes.
- The public touch-grass repository remains available for future updates.
- The touch-grass folder stays on your Desktop with its local index.html file.
Pause - I'll come back to this later
Unpublish the live grass link while keeping the touch-grass repository and local file. You can publish from the same repository again when you return.
- In the touch-grass repository, select Settings.
- Select Pages.
- Use the GitHub Pages site controls to unpublish the live grass link.
The live grass link becomes unavailable. The touch-grass repository keeps its README and updated index.html file.
Delete - I don't want to use this again
Deleting the project is final, so use this option when you no longer need the files or live site. Your existing Claude plan remains untouched.
- In the touch-grass repository, select Settings.
- Select Pages.
- Use the GitHub Pages site controls to unpublish the live grass link.
The live grass link becomes unavailable, which confirms that the GitHub Pages deployment has been removed.
- Return to the touch-grass repository settings.
- Search the repository settings for the repository deletion controls.
- Use the repository deletion controls to delete the public touch-grass repository.
The touch-grass repository stops opening. The live grass link is no longer published from that repository.
- Close the Terminal or PowerShell window running Claude Code in the touch-grass folder.
macOS
- Delete the touch-grass folder from your Desktop by running these commands in a new Terminal window:
cd ~/Desktop
rm -rf touch-grass
What do these commands do?
The first command moves Terminal to your Desktop. The second command permanently removes the touch-grass folder and its index.html file.
Windows
- Delete the touch-grass folder from your Desktop by running these commands in a new PowerShell window:
cd ~\Desktop
Remove-Item -Recurse -Force touch-grass
What do these commands do?
The first command moves PowerShell to your Desktop. The second command permanently removes the touch-grass folder and its index.html file.
Nice Work!
Nice Work!
You did it! Your one-file 3D grass field is live on GitHub Pages for friends to explore.
You've learned how to:
- Guide Claude Code with complete prompts that grow one index.html into a three.js r187 grass field. Keep the whole site in one file.
- Build responsive 3D interaction into the field. Nearby grass bends under mouse or touch input. The sky changes through Golden hour, Night, and Morning.
- Publish index.html through the GitHub web interface to the public touch-grass repository. Share the result through the live grass link.
- Secret Mission: Transform the field into Gladiator mode with tall golden wheat at sunset. Set the playful hand to drift on its own until mouse or touch input takes control.
Ready to quiz yourself?