Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
NNita
Last edited Mar 25, 2025
Created on Mar 25, 2025
Forked from HTML Starter

This interactive digital zen garden simulates a sandbox for creating meditative patterns and arrangements. Users can rake linear designs into a sand-colored background, place randomly sized and colored rocks, and add clip-path styled plants, all of which can be repositioned by dragging. The application uses vanilla JavaScript with mouse and touch event handlers, dynamically creating absolutely positioned DOM elements for each rake line, rock, and plant. The garden’s responsive layout adapts to screen size via CSS3 media queries.

AI-generated description

Digital Zen Garden

A calming, interactive web application that simulates a Japanese zen garden. Create patterns in the sand with the rake tool, place rocks and plants, and arrange your garden for a meditative digital experience.

Features

  • Rake Tool: Draw patterns in the sand
  • Rock Placement: Add rocks of various sizes and colors
  • Plant Placement: Add plants to your garden
  • Movable Elements: Rearrange rocks and plants by clicking and dragging
  • Clear Function: Reset your garden and start fresh

Usage

  1. Select a tool from the toolbar at the top
  2. Click and drag in the garden area to rake patterns or place elements
  3. Arrange rocks and plants by dragging them to your desired position
  4. Clear the garden when you want to start over

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (vanilla)

Responsive Design

The Digital Zen Garden is designed to work on both desktop and mobile devices, adapting to different screen sizes for an optimal experience.

MIT Licensed

Similar vizzes