External Publication
Visit Post

VibeCity

jMonkeyEngine Hub February 19, 2026
Source

I wanted to share a bit of context about why I’m approaching this project as a pure vibe code experiment. The main reason is simple: I want to learn how to use AI effectively. Working this way forces me to explore how far current AI tools can go, where they shine, and where they still hit their limits.

By keeping the project intentionally loose and exploratory, I can focus on understanding the strengths, weaknesses, and quirks of AI‑assisted development. It’s less about producing a polished product and more about mapping the boundaries of what’s possible right now.

At this stage i have not written a single key to the codebase, nor fixed any bug manually. I am really curious how far i can push this.

Here is the current state: after 3 hours of work. There are currently 1000 cars A*rring from one building to another.

  1. Procedural Urban Generation
  • Density-Field Growth: Uses Perlin noise to generate large-scale city layouts with distinct zones (High-density Downtown, Mid-density Work Areas, Low-density Rural).
  • Hierarchical Road Profiles: Standardized road types including Boulevards (4-lane), Streets (2-lane), and Rural Ways, all featuring symmetrical two-way traffic.
  • First-Class Lane Architecture: A robust graph where every lane is a distinct entity with its own start/end nodes, ensuring perfect topological connectivity.
  1. Advanced Road Infrastructure
  • Bezier Geometry: All roads and intersection turns are rendered as smooth cubic Bezier curves with adjustable sampling resolution.
  • Dynamic Junction Inflation: High-level road segments are automatically “compiled” into complex junctions with logical transition lanes, Right-Hand Traffic (RHT) turn filtering, and dynamic segment trimming to prevent overlaps.
  • Traffic Control: Automated synchronized traffic signal system for multi-road intersections.
  1. Vehicle AI & Traffic Simulation
  • A* Pathfinding: Vehicles perform asynchronous background pathfinding via virtual threads to travel between randomly selected buildings.
  • Physics-Based Movement: Smooth acceleration and braking models.
  • Traffic Safety System: Implementing “Follow the Leader” longitudinal control and junction priority rules. Vehicles calculate dynamic stopping distances based on current velocity to prevent collisions.
  • Population Management: Maintains a constant population of 1,000 active vehicles using a source-and-sink spawning model.

Discussion in the ATmosphere

Loading comments...