Idea · Aug 27, 2026

Whiteboard-to-Code Studio

Students photograph or upload hand-drawn flowcharts, pseudocode, or UML sketches; a Gemini vision model converts them into runnable Python or Java function stubs with docstrings; a second pass flags potential logic gaps and emits structured design feedback before any implementation begins.

What it would do

Whiteboard-to-Code Studio is a three-week assignment designed around the principle that design artifacts should precede code. Week 1: students select a domain problem from a provided list (binary search tree, simple text tokenizer, basic graph traversal, 2D grid pathfinder) and produce a hand-drawn design artifact: a flowchart, annotated pseudocode, or a sequence diagram on paper or a whiteboard. They photograph or scan the artifact and upload it to the Studio web app. A Gemini 1.5 Pro vision call reads the image and outputs a structured JSON describing the detected functions or procedures, their input/output types, and any decision branches. The student reviews this interpretation in the UI and corrects obvious OCR or inference errors using a simple structured editor (not free text). Week 2: the corrected structured JSON is passed to a second prompt that generates Python or Java function stubs with typed signatures and docstrings describing the intended contract. A third prompt reads all stubs together and emits a 'gap report': a bulleted list of potential logic issues (for example, 'no base case detected for the recursive branch,' 'ambiguous termination condition in the loop,' 'return type inconsistency between branches'). Students must address every flagged gap in a design revision document before they are allowed to start writing implementation code. The implementation phase is unlocked by the instructor reviewing the gap response document. Week 3: students implement the stubs and submit with a self-assessment comparing their final code to the original design artifact, noting what changed and why. Automated tests run on submission. The instructor sees each student's artifact image, the Gemini interpretation, the gap report, the gap response document, and the final implementation side-by-side in a dashboard.

Key features

  • Image upload of hand-drawn flowcharts, pseudocode, or UML sketches with Gemini 1.5 Pro vision interpretation
  • Structured JSON editor for correcting the vision model's function and branch interpretation
  • Automatic Python or Java function stub generation from corrected structured JSON
  • Gap report: bulleted list of potential logic issues detected before any implementation starts
  • Implementation-phase unlock gated on instructor review of the student's gap response document
  • Instructor dashboard showing artifact image, interpretation, gap report, gap response, and implementation side-by-side

More in Developer Tooling

Stack Trace Theater

A browser tool that animates Python and Java stack traces as frame-by-frame call stack walkthroughs, with LLM-generated plain-English explanations at each level so novices understand not just what failed but why.

Developer ToolingTeaching toolMediumAug 30, 2026

Bug Witness Investigation

An interrogation-style debugging game where CS students question AI witness characters to deduce a bug's root cause, building systematic diagnostic thinking through narrative gameplay.

Developer ToolingTeaching toolMediumAug 29, 2026

Type-Safe API Contract Lab

Students design a REST API in OpenAPI 3.1, generate a TypeScript server via codegen, write a Python client with Pydantic runtime validation, and build a Hypothesis fuzz test suite, learning contract-first development in an era where AI can write implementation but not specifications.

Developer ToolingClass assignmentLargeAug 26, 2026

Pair Review Roulette

A web app for structured in-class peer code review: the instructor pastes submission URLs, the app auto-pairs students, shows code side-by-side with inline comment anchors, runs a countdown timer, and delivers a Claude-generated reflection synthesis to each author after the session.

Developer ToolingTeaching toolMediumAug 26, 2026

All 131 ideas in Developer Tooling →