Geometrylessonsgithub _best_ Now
## Objectives - Define point, line, ray, segment - Distinguish between collinear and non-collinear points - Use notation and sketch figures
### **3. Sample Lesson: `lessons/01_points_lines/lesson_notes.md`** geometrylessonsgithub
def slope(p1, p2): """Slope of line through p1 and p2.""" dx = p2[0] - p1[0] if dx == 0: return float('inf') return (p2[1] - p1[1]) / dx ## Objectives - Define point, line, ray, segment
class PointConstruction(Scene): def construct(self): dot_a = Dot(LEFT * 2, color=BLUE) dot_b = Dot(RIGHT * 2, color=RED) label_a = MathTex("A").next_to(dot_a, DOWN) label_b = MathTex("B").next_to(dot_b, DOWN) ## Objectives - Define point
## Interactive Demo (in `interactive.ipynb`) Use widgets to plot points and toggle line/ray/segment.