<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Sushan Shetty</title>
    <description>The latest articles on Forem by Sushan Shetty (@sushan_shetty_5ebec41a67d).</description>
    <link>https://forem.com/sushan_shetty_5ebec41a67d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3786845%2F4cd6f902-c830-40f3-8281-0c4f48198264.png</url>
      <title>Forem: Sushan Shetty</title>
      <link>https://forem.com/sushan_shetty_5ebec41a67d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sushan_shetty_5ebec41a67d"/>
    <language>en</language>
    <item>
      <title>🌍 Deep-Time Mirror: An AI Lens into Our Ecological Soul For Earth Day Edition.</title>
      <dc:creator>Sushan Shetty</dc:creator>
      <pubDate>Fri, 17 Apr 2026 16:59:49 +0000</pubDate>
      <link>https://forem.com/sushan_shetty_5ebec41a67d/deep-time-mirror-an-ai-lens-into-our-ecological-soul-for-earth-day-edition-1846</link>
      <guid>https://forem.com/sushan_shetty_5ebec41a67d/deep-time-mirror-an-ai-lens-into-our-ecological-soul-for-earth-day-edition-1846</guid>
      <description>&lt;p&gt;This is a submission for Weekend Challenge: Earth Day Edition (April 22)&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built the &lt;strong&gt;Deep-Time Mirror&lt;/strong&gt;, an immersive, AI-powered "temporal lens" that allows users to witness the environmental evolution of any location on Earth.&lt;/p&gt;

&lt;p&gt;The goal was to move beyond cold, flat data and create an emotional connection with the land. The Mirror takes you through three distinct epochs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Deep Past (~10,000 BCE)&lt;/strong&gt;: A cinematic look at the primeval ecosystem before modern intervention.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Present (The Anthropocene)&lt;/strong&gt;: A gritty, real-time look at current urban and climate impacts, including a "Recent Pulse" with local environmental events from the last 7 days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Restored Future (~2100 CE)&lt;/strong&gt;: A hopeful, Solar-punk vision where humanity has successfully restored biodiversity and integrated technology with nature.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🌱 The Earth Auditor (Gaia Corp)&lt;/p&gt;

&lt;p&gt;Beyond observation, I built a personal accountability system:&lt;/p&gt;

&lt;p&gt;Users “confess” their daily habits to a brutally honest AI Earth.&lt;br&gt;
The system generates a Planetary Stability Score (0–100).&lt;br&gt;
It breaks down impact across:&lt;br&gt;
Energy ⚡&lt;br&gt;
Transport 🚗&lt;br&gt;
Waste ♻️&lt;br&gt;
Water 💧&lt;br&gt;
Diet 🍽️&lt;/p&gt;

&lt;p&gt;All of this is visualized through an interactive radar chart, turning abstract habits into tangible environmental impact.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Experience the Mirror live here:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://ais-pre-aspwrde2xj4sjbhruhw2zs-186320537837.asia-southeast1.run.app/" rel="noopener noreferrer"&gt;Deep-Time Mirror Live Demo&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The full source code and documentation can be found here:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/sushanshetty2601-pixel" rel="noopener noreferrer"&gt;
        sushanshetty2601-pixel
      &lt;/a&gt; / &lt;a href="https://github.com/sushanshetty2601-pixel/deep-time-mirror" rel="noopener noreferrer"&gt;
        deep-time-mirror
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🌍 An AI-powered 3D cinematic portal into Earth's ecological evolution. Visualize the primeval past, the modern Anthropocene, and a solar-punk future for any location. Built with Gemini AI, React, and Three.js for the Earth Day 2026 Challenge.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌍 Deep-Time Mirror&lt;/h1&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;em&gt;Piercing the veil of time for Earth Day 2026.&lt;/em&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Deep-Time Mirror&lt;/strong&gt; is an immersive, AI-powered ecological portal that visualizes the environmental history and restored future of any location on Earth. Built for the Earth Day Challenge, it combines high-performance 3D graphics with real-time generative storytelling to bridge the gap between our primeval past and a sustainable solar-punk tomorrow.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;⚡ The Experience&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;🔭 The Deep-Time Mirror&lt;/h3&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Temporal Synthesis:&lt;/strong&gt; The AI stabilization engine kicks in, generating a cinematic, full-screen 3D visual of your location.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep Past (~10,000 BCE):&lt;/strong&gt; Witness the land in its untouched, primeval glory. Meet ancient species and see the world before the Anthropocene.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Present:&lt;/strong&gt; A gritty, realistic look at current ecological challenges, complete with a "Recent Pulse" that grabs local environmental data from 1 day and 1 week ago.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Restored Future (~2100 CE):&lt;/strong&gt; A solar-punk vision of restoration. Witness how architecture and nature can coexist…&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/sushanshetty2601-pixel/deep-time-mirror" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxt7knaj6s4s1olpu2z9g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxt7knaj6s4s1olpu2z9g.png" alt=" " width="650" height="596"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu0h1dc2p0fj3co1wd9wi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu0h1dc2p0fj3co1wd9wi.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0cnq1vhbos8m2b92t6a0.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0cnq1vhbos8m2b92t6a0.webp" alt=" " width="800" height="325"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;My technical approach focused on &lt;strong&gt;Temporal Synthesis&lt;/strong&gt;—using AI to ground creative visuals in scientific fact.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Google Gemini 1.5 Flash&lt;/strong&gt;: I used Gemini to act as a "Temporal Oracle." It performs real-time searches to gather ecological data about the user's location, then generates structured JSON data for the narratives and climate statistics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3D Cinematic Visuals&lt;/strong&gt;: I utilized a generative visual pipeline that creates a full-screen, immersive background for every location. This "Art-First" approach ensures that users see the impact of climate change before they read about it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;React 19 &amp;amp; Three.js&lt;/strong&gt;: The core interface uses React 19 for high-speed state management and Three.js (via React-Three-Fiber) to create the "Temporal Sphere" at the heart of the experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design Philosophy&lt;/strong&gt;: I used a high-end editorial/luxury aesthetic with Tailwind CSS v4, utilizing Glassmorphism and specialized scanline filters to give the app a "Retro-Futuristic Science" feel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Visualization&lt;/strong&gt;: I integrated Recharts to create custom-themed radar charts and built SVG Progress Dials to visualize the Planetary Score. These are fully responsive, data-driven components that transform AI output into actionable insights.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advanced State Management&lt;/strong&gt;: Leveraging React 19 hooks and Framer Motion, I created seamless “Temporal Transitions” that make switching between the Mirror and the Auditor feel fluid and cinematic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Best Use of Google Gemini
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;🌍 Grounded Real-Time Search&lt;/strong&gt;: To find hyper-local environmental changes from the last 24 hours and 7 days.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;🧠 Complex Reasoning&lt;/strong&gt;: To generate scientifically plausible “Restored Future” scenarios based on geography and climate constraints.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;🎭 Brutally Honest Personality Logic&lt;/strong&gt;: Gemini is engineered as a strict planetary auditor, not a passive chatbot. It detects harmful habits (like plastic use or waste) and dynamically assigns an &lt;strong&gt;Earth Grade (A+ to F)&lt;/strong&gt;, creating a strong moral feedback loop.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;📈 Multi-Dimensional Data Synthesis&lt;/strong&gt;: It outputs structured data that powers the Planetary Stability Score and a 5-axis environmental radar chart, ensuring every user interaction produces unique, data-driven insights.   &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ✨ Special Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🌐 High-Fidelity Details
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Custom Temporal Cursor&lt;/strong&gt;: A glowing Earth orb with an orbit ring and subtle leaf trail that reacts dynamically to user interactions.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Live Pulse Integration&lt;/strong&gt;: The landing experience includes simulated global activity (12k+ locations, 3.2M trees restored), making users feel part of a global movement.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Glassmorphism Design System&lt;/strong&gt;: Every UI layer uses blur, transparency, and subtle borders to mimic a futuristic “Gaia Corp” terminal.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cinematic Transitions&lt;/strong&gt;: Moving between the Mirror and Auditor feels like navigating a high-end sci-fi interface.  &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🍃 A Message for Earth Day 2026 (April 22)
&lt;/h2&gt;

&lt;p&gt;Earth Day is a reminder that we are not just residents of this planet—we are its custodians.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Facts We Face:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Carbon Consciousness&lt;/strong&gt;: CO₂ levels are currently at their highest in over 4 million years. Our “Deep Past” view reminds us of the baseline we are trying to return to.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Restoration is Possible&lt;/strong&gt;: Scientists estimate that restoring just 15% of converted lands in priority areas could avoid 60% of expected extinctions. My “Future” view is a digital blueprint of this possibility.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Every Day Matters&lt;/strong&gt;: The “Recent Pulse” in the app monitors changes from just 24 hours ago. Climate action isn't a long-term goal—it’s a daily rhythm.  &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Built with 💚 for the planet by: Sushan Shetty (sushanshetty2601-pixel)&lt;br&gt;
Thank you 😇&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>earthday</category>
      <category>gemini</category>
    </item>
    <item>
      <title>✨ What I Built for the DEV April Fools Challenge: 🎵 Shake-to-Volume Music Player + 🐍 Shake-Controlled Snake Game</title>
      <dc:creator>Sushan Shetty</dc:creator>
      <pubDate>Wed, 08 Apr 2026 17:20:03 +0000</pubDate>
      <link>https://forem.com/sushan_shetty_5ebec41a67d/what-i-built-for-the-dev-april-fools-challenge-shake-to-volume-music-player--48e6</link>
      <guid>https://forem.com/sushan_shetty_5ebec41a67d/what-i-built-for-the-dev-april-fools-challenge-shake-to-volume-music-player--48e6</guid>
      <description>&lt;h1&gt;
  
  
  🎵🐍 Shake-to-Volume Music Player + Tilt-Controlled Snake: Double Chaos Edition
&lt;/h1&gt;

&lt;p&gt;A hilariously useless double feature where EVERYTHING is controlled by shaking/tilting your device!&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I created the world's most frustrating double feature:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;A music player where volume ONLY works by shaking your device&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A Snake game controlled entirely by tilting your phone or violently moving your mouse&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Both features are completely useless, intentionally difficult, and will make you question reality.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://silly-dev.preview.emergentagent.com/" rel="noopener noreferrer"&gt;https://silly-dev.preview.emergentagent.com/&lt;/a&gt; &lt;br&gt;
🔗 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/sushanshetty2601-pixel/shake-chaos-player" rel="noopener noreferrer"&gt;https://github.com/sushanshetty2601-pixel/shake-chaos-player&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Screenshots
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxx2nr3zwfxgfx5s009dd.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxx2nr3zwfxgfx5s009dd.jpeg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbjl8t9i5e5o0z1q5q60u.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbjl8t9i5e5o0z1q5q60u.jpeg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5hyrqt75f5mlekskc3y1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5hyrqt75f5mlekskc3y1.jpeg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flnk5flbd8domy8c17ipk.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flnk5flbd8domy8c17ipk.jpeg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Features (All Intentionally Useless)
&lt;/h2&gt;
&lt;h3&gt;
  
  
  🎵 Shake-to-Volume Music Player
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shake Detection:&lt;/strong&gt; Uses accelerometer on mobile, requires violent mouse movements on desktop&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Volume Control:&lt;/strong&gt; NO buttons, NO sliders - ONLY shaking works&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Volume Decay:&lt;/strong&gt; Stop shaking? Volume drops to zero. Keep shaking forever!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shake Meter:&lt;/strong&gt; Real-time visualization of your pathetic shaking intensity&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stats Tracking:&lt;/strong&gt; Counts every single shake and scores your desperation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🤖 AI Shake Coach:&lt;/strong&gt; Google AI roasts your shaking technique in real-time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calibration Mode:&lt;/strong&gt; 5-second test that judges if your shaking is "worthy" (spoiler: it's not)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shake History:&lt;/strong&gt; Database permanently records your shameful shaking attempts&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  🐍 Shake-Controlled Snake Game
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tilt Controls:&lt;/strong&gt; On mobile, tilt device to change direction. On desktop, move mouse away from screen center.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Arrow Keys:&lt;/strong&gt; Traditional controls are for cowards&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Game Over Messages:&lt;/strong&gt; Sarcastic AI roasts like "😴 Pathetic tilting skills"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score Tracking:&lt;/strong&gt; Watch your failure in real-time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classic Snake:&lt;/strong&gt; Eat food, grow longer, inevitably crash into yourself while trying to tilt properly&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Why This Is Hilariously Useless
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Music Player Problems:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Want to turn up the volume? Shake violently for 30 seconds straight.&lt;/li&gt;
&lt;li&gt;Listening on a bus? Everyone thinks you're having a seizure.&lt;/li&gt;
&lt;li&gt;Desktop users must thrash their mouse around like a possessed etch-a-sketch.&lt;/li&gt;
&lt;li&gt;Stop shaking for 2 seconds? Silent. Forever shaking or forever silent.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Snake Game Problems:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Playing Snake is already hard. Playing it by TILTING is impossible.&lt;/li&gt;
&lt;li&gt;Desktop users must remember which quadrant their mouse is in.&lt;/li&gt;
&lt;li&gt;Every game ends in 10 seconds with a sarcastic AI insult.&lt;/li&gt;
&lt;li&gt;You'll look ridiculous tilting your phone back and forth.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Combined Chaos:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Try playing Snake while the music volume keeps resetting because you stopped shaking.&lt;/li&gt;
&lt;li&gt;Ultimate multitasking nightmare.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  How I Used Google AI (Gemini 3 Flash)
&lt;/h2&gt;

&lt;p&gt;I integrated &lt;strong&gt;Google Gemini 3 Flash API&lt;/strong&gt; to create an "AI Shake Coach" &lt;/p&gt;
&lt;h3&gt;
  
  
  Implementation:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; FastAPI endpoint &lt;code&gt;/api/shake-coach&lt;/code&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; &lt;code&gt;gemini-3-flash-preview&lt;/code&gt; via Google Generative AI API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration:&lt;/strong&gt; Used Emergent's LLM integration library for seamless Gemini access&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  What the AI Does:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Analyzes Shake Data:&lt;/strong&gt; Takes intensity, count, score, and device type&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generates Sarcastic Feedback:&lt;/strong&gt; Creates custom roasts based on performance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Assigns Roast Levels:&lt;/strong&gt; Pathetic → Mediocre → Acceptable → Legendary&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provides "Useless Tips":&lt;/strong&gt; Like "Shake like you're trying to wake up your phone's ancestors"&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  Sample AI Responses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;"Congratulations on vibrating your desk with the raw power of a drowsy hamster..."&lt;/li&gt;
&lt;li&gt;"At this rate, you'll reach 'audible' volume by the next solar eclipse"&lt;/li&gt;
&lt;li&gt;"I've seen more intensity from a leaf of lettuce in a mild breeze"&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Why This AI Usage Is Perfect for the Challenge:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The AI takes something already useless (shaking for volume) and makes it MORE useless by roasting you&lt;/li&gt;
&lt;li&gt;Gemini's creative language generation makes every roast unique&lt;/li&gt;
&lt;li&gt;It's meta-useless: AI judging your performance in a completely pointless task&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; React, Tailwind CSS, Web Audio API, DeviceMotion API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; FastAPI, Python&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; MongoDB (to forever store your shame)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI:&lt;/strong&gt; Google Gemini 3 Flash via Generative AI API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment:&lt;/strong&gt; Emergent platform&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Motion Detection:&lt;/strong&gt; DeviceOrientationEvent (mobile), MouseEvent (desktop)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  How to Try It
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Mobile:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Visit the live demo on your phone&lt;/li&gt;
&lt;li&gt;Click "Play Music"&lt;/li&gt;
&lt;li&gt;Shake your phone aggressively&lt;/li&gt;
&lt;li&gt;Watch volume go up (and immediately drop when you stop)&lt;/li&gt;
&lt;li&gt;Try the Snake game by tilting&lt;/li&gt;
&lt;li&gt;Get roasted by AI&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  Desktop:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Visit on your computer&lt;/li&gt;
&lt;li&gt;Move mouse violently in all directions&lt;/li&gt;
&lt;li&gt;Or spam keyboard keys&lt;/li&gt;
&lt;li&gt;Try controlling Snake by moving mouse to screen edges&lt;/li&gt;
&lt;li&gt;Fail spectacularly&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Code Highlights
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Shake Detection (Mobile):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;devicemotion&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;accelerationIncludingGravity&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;acceleration&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;x&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;x&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;y&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;y&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;acceleration&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;intensity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;acceleration&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nf"&gt;setVolume&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;floor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;intensity&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;AI Shake Coach (Backend):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;chat&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;LlmChat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;EMERGENT_LLM_KEY&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="n"&gt;session_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;shake-coach-&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;uuid&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;uuid4&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;system_message&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;You are a sarcastic Shake Coach...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;with_model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gemini&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gemini-3-flash-preview&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;ai_response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;send_message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user_message&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;DeviceMotionEvent API is surprisingly powerful (and hilarious)&lt;/li&gt;
&lt;li&gt;Gemini 3 Flash is excellent at generating creative sarcasm&lt;/li&gt;
&lt;li&gt;People will question your sanity when they see you violently shaking your phone&lt;/li&gt;
&lt;li&gt;Making something intentionally useless is harder than making something useful&lt;/li&gt;
&lt;li&gt;AI makes everything better, even roasting your terrible shaking technique&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This project perfectly embodies the April Fools spirit: it's technically impressive, completely useless, and will frustrate anyone who tries it. The AI integration adds an extra layer of absurdity by judging and roasting your attempts to use an already ridiculous interface.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it, shake it, tilt it, and get roasted!&lt;/strong&gt; 🎉&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with frustration, bad ideas, and Google AI by &lt;a href="https://github.com/sushanshetty2601-pixel" rel="noopener noreferrer"&gt;@sushanshetty2601-pixel&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This app is intentionally useless. Created for DEV April Fools Challenge 2026.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>418challenge</category>
      <category>showdev</category>
      <category>googleai</category>
    </item>
  </channel>
</rss>
