Flipper Zero SimulatorDismantle, inspect and operate the device.
Interactive lab
Loading the Blender model…
0/50
Lines, boxes, circles and text — everything you draw lands in the same 1024-byte buffer.
Module: Display and input
Fonts are monochrome bitmaps (FontPrimary, FontSecondary, FontKeyboard, FontBigNumbers). Coordinates start top-left.
With the Video Game Module attached, everything drawn on the 128x64 canvas is mirrored to its video output.
canvas_draw_frame(canvas, 0, 0, 128, 64);
canvas_draw_line(canvas, 0, 0, 127, 63);
canvas_draw_circle(canvas, 64, 32, 12);
canvas_draw_disc(canvas, 64, 32, 4);
Where is canvas coordinate (0,0)?
← 8. Monochrome 128×64 LCD · All lessons · 10. D-pad and tactile switches →
Try it yourself
l09_drawing_with_the_canva.c
canvas_draw_frame(canvas, 0, 0, 128, 64);
canvas_draw_line(canvas, 0, 0, 127, 63);
canvas_draw_circle(canvas, 64, 32, 12);
canvas_draw_disc(canvas, 64, 32, 4);