Pencil Sketch of Linear Function with Slope and Intercept
Loading...
Loading video...
Pro
0:00 / 0:00
Scene Overview
- Scene Class: Single Manim
Scene(e.g.,PencilGraphScene). - Purpose: Visually illustrate the linear function being drawn as if by a hand‑held pencil, emphasizing the slope and intercept.
- Duration: Approximately 12 seconds total.
1. Animation Description & Flow
- Setup (0 s – 2 s)
- Fade in a Cartesian coordinate plane with axes ranging from to and to .
- Axes are drawn in a light gray color; tick marks and numeric labels appear instantly.
- Pencil Introduction (2 s – 3 s)
- A thin, semi‑transparent pencil tip (a small brown ellipse with a subtle shadow) slides in from the left edge of the screen to the origin . This motion lasts 1 second.
- Drawing the Line (3 s – 9 s)
- The pencil tip follows the graph of from (point clipped to the visible frame) to (point ).
- As the tip moves, a dark gray line is progressively revealed behind it, mimicking a pencil stroke.
- The line width is set to mimic a real pencil (≈3 pt) with a slight texture effect (optional shading).
- Highlight Key Points (9 s – 11 s)
- Small, semi‑transparent circles appear at the intercepts:
- Y‑intercept at – a blue dot that fades in over 0.5 s.
- X‑intercept at – a red dot that fades in over 0.5 s.
- Tiny, hand‑drawn style arrows (thin lines with arrowheads) label the slope "2" and the intercept "-1" near the line, each appearing with a quick sketch animation (0.5 s each).
- Small, semi‑transparent circles appear at the intercepts:
- Conclusion (11 s – 12 s)
- The pencil tip lifts off the screen, moving upward and fading out.
- The completed graph remains on screen for a brief pause, then all elements fade out together.
2. Mathematical Elements & Formulas
- Function:
- Key Points:
- Y‑intercept:
- X‑intercept:
- Slope Indicator: The label "2" placed parallel to the line segment between and .
3. Visual Elements
| Element | Description | Color / Style |
|---|---|---|
| Axes | Light gray, thin lines; tick marks visible | #CCCCCC |
| Pencil tip | Small brown ellipse with subtle shadow, semi‑transparent | #8B4513 |
| Drawn line | Dark gray, textured to resemble graphite | #333333 |
| Y‑intercept dot | Blue, radius ≈0.08 units, semi‑transparent | #1E90FF |
| X‑intercept dot | Red, radius ≈0.08 units, semi‑transparent | #FF4500 |
| Slope label "2" | Hand‑sketched style number, black | #000000 |
| Intercept label "-1" | Hand‑sketched style number, black | #000000 |
4. Timing & Transitions
- Fade‑in / Fade‑out: 0.5 s each for axes and final exit.
- Pencil movement: Linear easing for the tip travel; line reveal follows the tip exactly.
- Dot appearances: Opacity transition from 0 % to 100 % over 0.5 s.
- Arrow/label sketches: Quick “draw‑on‑air” effect (stroke appears from start to end) over 0.5 s.
- Overall pacing: Keep a steady rhythm; no pause longer than 0.5 s between steps.
5. Camera Angles & Perspective
- Static camera: Fixed orthographic view centered on the origin; no zoom or pan.
- Optional subtle zoom: At 3 s, a slight (≈5 %) zoom‑in to emphasize the pencil tip, then return to original framing by 9 s.
6. Additional Details
- Background: Plain white canvas to emulate paper.
- Texture: Optional faint paper grain overlay (very low opacity) to enhance the “pencil on paper” feel.
- No text blocks: All information conveyed visually; only the small hand‑drawn numeric labels are used.
- Scene length: 12 seconds, well within the 30‑second limit.
Created By
Description
A Cartesian plane fades in, then a brown pencil tip slides to the origin and draws the line y equals two x minus one from left to right. As the line is traced, blue and red dots appear at the y-intercept and x-intercept, and hand-drawn arrows label the slope of two and the intercept of minus one. The pencil lifts off and the completed graph fades out.
Created At
Feb 1, 2026, 07:20 AM
Duration
0:12
Tags
linear-functionpencil-drawinggraphingslope-intercept
Status
Completed