HomeFit Generator — Interactive 3D Home Workout Studio & Adaptive Coach

By (@anita) · · Apps

HomeFit Generator is an interactive 3D home fitness web application that helps users build and follow structured daily workouts from home—with no gym membership or account required. Pick your workout duration, fitness level, target muscle group, available equipment (no equipment, mat, or light dumbbells), and intensity to instantly generate a balanced warm-up, main circuit, and cool-down from 36 guided exercises. An articulated 3D robot coach demonstrates every exercise live inside a warm 3D studio with Front, Side, and Isometric camera presets so you can inspect form from any angle. Train hands-free with the Smart Timer HUD featuring audio countdown cues and adaptive workout music that syncs its tempo to each phase with 3-level volume control. Track your 7-day active streak and MET-based estimated calories burned on the Weekly Progress chart, get personalized post-workout Nutrition Tips matched to your latest session intensity, save favorite routines, export standalone HTML workouts, and switch seamlessly between 4 languages (English, Indonesian, Chinese, and Vietnamese).

Tech stack

  • Google AI Studio (4 Hydrogen)

Prompt steps

  1. Step 1

    You are an expert front-end developer skilled at building modern, clean, and mobile-friendly web apps using HTML, CSS, and pure (vanilla) JavaScript.
    Please create a complete HTML file (single file) for a web app named:
    HomeFit Generator
    (Home Workout Routine Generator)
    App Purpose
    To help users who want to exercise at home avoid confusion when choosing exercises. Users simply select their preferences, and the app automatically generates a complete workout routine (warm-up + exercises 
    
    Translated with DeepL.com (free version)
  2. Step 2

    Estimate the total calories burned for the current routine based on its duration and intensity level, and display this value in the 'Rutinitas' panel.
  3. Step 3

    Update the workoutEngine utility to calculate estimated calories burned based on routine duration, intensity level, and average MET values for the selected exercises. Then, display this estimated total in the 'Rutinitas' panel alongside the duration
  4. Step 4

    Use the 'recharts' library to add a 'Progress' tab that displays a line chart of the user's weekly streak and total estimated calories burned over time.
    Added a Progress tab powered by Recharts that displays a 7-day dual-axis line chart tracking both your weekly streak and total estimated calories burned over time. You can switch between cumulative total burn and daily burn, hover over any day for a detailed breakdown, and watch the chart update automatically as you complete or log workouts.

3 likes · 2 views

Explore more on Prompted