A modern portfolio website showcasing interactive games, tech demos, and creative coding projects. Built with Astro for fast, static site generation.
- ๐ฒ Forest Game - Interactive forest exploration game with procedurally generated environments
- ๐ Space Game - Space shooter adventure with physics and audio
- ๐ Best Friend Party - Interactive party game with cat characters
- ๐ง Vampire Survivors Clone - Action survival game with canvas rendering
- ๐ฟ Survival Game - 3D survival experience built with Three.js
- ๐ฑ Wellness Tracker - Progressive Web App for daily wellness and journaling
- Framework: Astro - Static site generator
- Styling: CSS with modern glassmorphism effects
- Game Technologies:
- Vite for build tooling
- Matter.js for physics (Space Shooter)
- Tone.js for audio (Space Shooter)
- Three.js for 3D graphics (Survival)
- Canvas API for 2D rendering (Vampire)
- PWA Features: Service workers, local storage, offline support
- Deployment: Ready for deployment to spacecat.org
- Node.js (version 16 or higher)
- npm or yarn
- Clone the repository:
git clone <repository-url>
cd glitterbox- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and visit
http://localhost:4321
glitterbox/
โโโ apps/
โ โโโ wellness-tracker/ # PWA wellness tracking app
โโโ games/
โ โโโ best-friend-party/ # Cat party game (Vite + vanilla JS)
โ โโโ chill-forest/ # Forest exploration game (Vite + vanilla JS)
โ โโโ space-shooter/ # Space game (Vite + Matter.js + Tone.js)
โ โโโ survival/ # 3D survival game (Vite + Three.js)
โโโ public/
โ โโโ best-friend-party/ # Built game assets
โ โโโ forest/ # Forest game assets
โ โโโ space/ # Space game assets
โ โโโ survival/ # Survival game assets
โ โโโ vampire/ # Vampire game assets
โ โโโ wellness/ # Wellness app assets
โ โโโ favicon.png # SpaceCat brand favicon
โโโ src/
โ โโโ assets/
โ โ โโโ spacecat_logo_glitterbox_style_transparent.png
โ โ โโโ glitterbox_combined_transparent.png
โ โโโ components/
โ โ โโโ Welcome.astro # Main landing page
โ โโโ layouts/
โ โ โโโ Layout.astro # Base layout template
โ โโโ pages/
โ โโโ index.astro # Home page
โ โโโ about.astro # About page
โ โโโ forest.astro # Forest game page
โ โโโ space.astro # Space game page
โ โโโ best-friend-party.astro # Party game page
โ โโโ survival.astro # Survival game page
โ โโโ vampire.astro # Vampire game page
โ โโโ wellness.astro # Wellness app page
โโโ package.json
- Type: Procedural forest exploration
- Tech: Vanilla JavaScript, Vite
- Features: Dynamic environment generation, interactive elements
- Type: Physics-based space combat
- Tech: Matter.js physics, Tone.js audio, Vite
- Features: Realistic physics, sound effects, responsive controls
- Type: Interactive party game
- Tech: Vanilla JavaScript, Vite
- Features: Cat characters, party mechanics
- Type: Action survival
- Tech: Canvas API, vanilla JavaScript
- Features: Real-time combat, enemy spawning
- Type: 3D survival experience
- Tech: Three.js, Vite
- Features: 3D graphics, immersive environment
- Type: Progressive Web App
- Tech: Vanilla JavaScript, PWA features
- Features:
- Daily goal tracking
- Food logging
- Personal notes/journaling
- Local storage
- Offline support
- Service worker registration
- Dark Tech Theme: Deep blue/purple gradients with animated overlays
- Glassmorphism UI: Modern backdrop blur effects and transparency
- Responsive Design: Optimized for desktop and mobile
- Brand Integration: SpaceCat branding with Glitterbox product focus
- Smooth Animations: Hover effects and transitions throughout
To add a new game to the portfolio:
-
Create game directory:
mkdir public/your-game-name
-
Add game files to
public/your-game-name/ -
Create Astro page at
src/pages/your-game-name.astro:--- import Layout from '../layouts/Layout.astro'; --- <Layout> <div id="game-container"> <iframe src="/your-game-name/index.html" width="100%" height="100%" frameborder="0" style="border: none;" ></iframe> </div> </Layout>
-
Update asset paths in your game's HTML to include the subdirectory (e.g.,
/your-game-name/assets/) -
Add link to the main page in
src/components/Welcome.astro
npm run buildThe site is configured for deployment to spacecat.org. Build files will be generated in the ./dist/ directory.
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
Each game can be developed independently:
cd games/your-game-name
npm install
npm run dev- Fast Loading: Static site generation for optimal performance
- SEO Optimized: Built-in meta tags and structured data
- Accessible: Semantic HTML and ARIA labels
- Modern CSS: CSS Grid, Flexbox, and custom properties
- Game Integration: Seamless iframe embedding for interactive content
- PWA Support: Progressive Web App capabilities for mobile
- Cross-Platform: Works on desktop, mobile, and tablets
- Vite: Fast build tool for modern web development
- Astro: Static site generator with component support
- Modern JavaScript: ES6+ features and modules
- CSS Grid/Flexbox: Modern layout systems
- Responsive Design: Mobile-first approach
This project is part of the SpaceCat portfolio. All rights reserved.
Built with โค๏ธ by SpaceCat