
Building an AI Floor Planner with Google Gemini and Matplotlib
Building an AI Floor Planner with Google Gemini What I Built with Google Gemini Designing floor plans usually requires architectural tools or manual drawing. I wanted to explore whether natural language could be used to generate a basic floor layout automatically. So I built an AI-powered Floor Planning system that converts a simple text prompt into a structured floor plan visualization. The workflow is simple: The user provides a natural language prompt describing a floor layout. Example: "A 2 bedroom apartment with a living room, kitchen, and bathroom." The prompt is sent to the Google Gemini API. Gemini parses the prompt and converts it into a structured JSON layout containing room names, dimensions, and positions. This JSON data is then used by Matplotlib to programmatically draw the floor plan. Essentially, Gemini acts as the intelligent parser that converts human language into a structured format that the program can visualize. Without an LLM , writing a rule-based parser for eve
Continue reading on Dev.to
Opens in a new tab




