Chasing the Sun: Building a 3D AI-Powered Solstice Runner…
    Neura MarketNeura Market/Stable Diffusion
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityStable DiffusionStable Diffusion
    DeepSeekDeepSeekCoPilotCoPilotMidjourneyMidjourney
    View All Directories
    OverviewPromptsBlogVideosGuidesCoursesCommunityModelsLoRAsComfyUI WorkflowsTrending
    Stable DiffusionBlogChasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber
    Back to Blog
    Chasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber
    devchallenge

    Chasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber

    S M Tahosin June 21, 2026
    0 views

    My submission for the June Solstice Game Jam: A 3D endless runner where you chase the sun with React Three Fiber and the Gemini API.


    title: "Chasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber" description: "My submission for the June Solstice Game Jam: A 3D endless runner where you chase the sun with React Three Fiber and the Gemini API." tags: devchallenge, gamechallenge, gamedev, discuss cover_image: "https://x-tahosin.github.io/Solstice-Runner/cover_image.jpg"

    This is a submission for the June Solstice Game Jam

    What I Built

    For this game jam, I built Solstice Runner, a 3D endless adventure where you literally chase the sun on the longest day of the year.

    Solstice Runner Title Screen

    The idea started with a simple question:

    What if the solstice was a race against time, guided by logic?

    In Solstice Runner, players navigate a vibrant 3D world, dodging obstacles and interacting with a dynamically generated environment. Instead of just making a standard runner, I wanted the environment and the interactions to feel alive. The game celebrates the June Solstice by having the player constantly move forward toward a sun that never seems to set, while solving on-the-fly logical puzzles inspired by Alan Turing.

    The goal was simple:

    Build a fast-paced 3D web experience that seamlessly blends action with intelligent logic.

    Video Demo

    Here is a quick video demo of the gameplay in action:

    {% youtube JYCaxrsrTnY %}

    You can also try:

    • Running through the 3D obstacle course
    • Experiencing real-time dynamic AI dialogues
    • Chasing the horizon of the longest day
    • Testing your reflexes against Turing-inspired logic nodes

    ... directly through the deployed game (hosted on GitHub Pages):

    🎮 Play Solstice Runner Here

    Code

    GitHub Repository

    Built with:

    • React — Frontend UI and application state
    • React Three Fiber / Three.js — The entire 3D rendering pipeline and game world
    • Vite — Lightning-fast development and build tooling
    • Google AI API (Gemini) — Generating dynamic interactions and logic on the fly
    • Tailwind CSS — Styling the overlay HUDs

    How I Built It

    I started by focusing on the core rendering loop:

    Render Scene → Handle Movement → Generate AI Logic → Avoid Obstacles

    Once the 3D movement felt right in the browser, I started layering in everything else.

    Building the 3D World in the Browser

    One of the biggest challenges was getting 3D performance running smoothly in the browser. Using pure Three.js can require a lot of boilerplate, so I opted for React Three Fiber. It allowed me to treat 3D meshes, lights, and cameras as standard React components, which sped up development tremendously. The environment uses warm, bright lighting to reflect the summer solstice vibe.

    3D Environment in Solstice Runner

    Integrating the Google AI API

    Instead of hardcoding the obstacles or dialog sequences, I used the Google AI API as the "Game Master". Every time a player reaches a specific checkpoint, the game pings the API with the current game state to generate unique logic challenges and narrative text.

    It took some tweaking to ensure the API calls didn't block the game's render loop, but the result is a game that responds dynamically.

    A Nod to Alan Turing

    Since June is also Alan Turing's birth month, I wanted to include a tribute to him. The logic checkpoints you encounter while running are framed as "Turing Gates". They require quick thinking—such as pattern recognition or simple binary decisions—before you can continue your run.

    AI Forge Menu

    FeatureConceptThe Mechanics
    Turing GatesLogic NodesAnswer AI-generated logic puzzles to pass safely
    Endless DayJune SolsticeThe lighting stays perpetually at golden hour

    Prize Category

    I am submitting this project for the Best Google AI Usage and Best Ode to Alan Turing categories.

    The Google AI API handles the core dynamic dialog and logic generation, making every run feel unique. Meanwhile, the core mechanics of navigating "Turing Gates" serve as a direct homage to Turing's legacy in computing and intelligence.

    Let's Discuss! 👇

    I'd love to hear your thoughts on mixing 3D web games with generative AI!

    • Have you tried using React Three Fiber or the Gemini API in your own projects?
    • What kind of AI-driven mechanics would you add to an endless runner?
    • How far did you manage to run in the game? 🏃‍♂️

    Drop a comment below, and let's chat about web game development, AI, or just share your high score!

    Thanks for playing!

    Tags

    devchallengegamechallengegamedevdiscuss

    Comments

    More Blog

    View all
    Context bankruptcy: The case for strategic forgetting for AI Agentsai

    Context bankruptcy: The case for strategic forgetting for AI Agents

    Most of us have seen a coding agent fail to complete a task we know it can do. We just don't...

    J
    James O'Reilly
    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestrationgooglecloud

    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestration

    When building Generative AI applications, developers often encounter a massive bottleneck: sequential...

    A
    Aryan Irani
    Is It Ethical to Post and Ask About Circuits on Dev.to?discuss

    Is It Ethical to Post and Ask About Circuits on Dev.to?

    I’ve been thinking about sharing some electronic circuit posts on Dev.to — small circuits, DIY...

    C
    codebunny20
    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limitsagents

    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limits

    What nobody tells you about exporting your multi-agent prototype to a local workspace. Every...

    L
    leslysandra
    Guarding the till while autonomous data agents do the diggingagenticarchitect

    Guarding the till while autonomous data agents do the digging

    Autonomous agents are genuinely good at answering messy business questions. Give one an LLM and a set...

    S
    Sireesha Pulipati
    Return on Attention: Why AI Code Reviews Are Wearing Us Outai

    Return on Attention: Why AI Code Reviews Are Wearing Us Out

    PR volume went up, ticket quality didn't, and the gap got filled with LLMs on both sides of the review: bots reviewing, bots replying, bots occasionally arguing with bots about priorities that only existed in a teammate's head. Our CEO named the actual problem, and it's bigger than code review.

    C
    christine

    Stay up to date

    Get the latest Stable Diffusion prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Stable Diffusion and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Stable Diffusion resource

    • Building a RAG Chatbot for Movie Recommendations with Qdrant and OpenAIn8n · Free · Related topic
    • Automate Profile List Building with Airtop and Google Sheetsn8n · Free · Related topic
    • Automate Slack Approvals and Data Submission with n8n Webhooksn8n · Free · Related topic
    • Automate Commercial Insurance Submissions with Google Suite, PDF, and Emailn8n · Free · Related topic
    Browse all workflows