Functions
AI Assistant

Build a House with Math

Use rectangles, triangles, and coordinates to construct a house — then customize it with windows, trees, and more

Every shape you see in the real world can be described with math. A wall is a rectangle, a roof is a triangle, and a window is a smaller rectangle placed at the right coordinates. In this lesson, you'll see how coordinate geometry turns numbers into pictures.

Press → and watch the AI build a house from scratch — rectangles for walls, a triangle for the roof, and a door. Then you decide what to add: windows, a chimney, trees, a fence, a sun, clouds — anything you can imagine.

Tell the AI what you want to build, and watch it appear on the graph as geometric shapes. This is a creative sandbox — there's no wrong answer, just math making art.

Graph

FAQ

What shapes can I build with coordinates?
You can build any shape using coordinate geometry. Rectangles (boxes) are defined by an edge and a height. Triangles need three corner points (vertices). Line segments connect two points — great for fences, power lines, or tree trunks. Labels add text or emoji at any position. You can even draw circles using function equations like x^2 + y^2 = r^2.
How is a rectangle defined in coordinate geometry?
A rectangle on a coordinate plane is defined by one edge (two endpoints) and a perpendicular height. For example, an edge from (0,0) to (6,0) with height 4 creates a rectangle with corners at (0,0), (6,0), (6,4), and (0,4). The edge can be at any angle — the rectangle extends perpendicular to it.
How is a triangle defined in coordinate geometry?
A triangle is defined by three vertices (corner points). For example, vertices at (0,4), (6,4), and (3,6) form an isosceles triangle — a classic roof shape. The three vertices can be anywhere on the coordinate plane, and the triangle fills the region between them.
Can I use math to draw curved shapes like circles or suns?
Yes! A circle with radius r centered at the origin is described by the equation x^2 + y^2 = r^2. You can shift the center to any point (h, k) using (x-h)^2 + (y-k)^2 = r^2. This is how you can draw a sun, wheels, or any circular object using pure math.