Skip to main content
HTML

room302studio

The website for room302.studio

Commits
148
Files
328
Size
61.9 MB
Langs
5
Issues
12
Created
Mar 24, 2023
Last push
7 months ago
README.md

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.

OG Image Generator

The project includes a built-in Open Graph image generator at /og_generator. This tool helps create consistent social media preview cards for all pages.

Features

  • Dynamic text with IBM Plex Sans font
  • Gradient backgrounds with preset options
  • Subtle animated preview with 302 floating dots using Perlin noise
  • Watermarked logo
  • Downloads high-resolution (1200x630) PNG files

Usage

  1. Navigate to /og_generator
  2. Select a page from the dropdown
  3. Choose colors:
    • Use the "Minimal" preset for dark monotone
    • Use the "Primary" preset for brand colors
    • Use "Random" to explore theme color combinations
    • Or manually pick gradient colors
  4. Click "Download Image" to save

Technical Notes

  • Uses html2canvas for image generation
  • Implements simplex-noise for dot animation
  • Maintains consistent branding with theme color palette
  • Exports at 2x scale for retina displays