pencil
A lesson creation prototype that draws on a blackboard in sync with spoken explanations
What does it do?
After a topic is entered, the model writes explanation sentences and elements to show on the blackboard into each lesson segment as JSON. Code validates the result, and the browser player draws titles, paragraphs, tables, shapes, and other elements in step with the positions of spoken words. A multiple-choice review question can be added at the end of a lesson. Users can choose a model or add reference notes, and the planning stage displays the token count and cost per lesson. In the demo, users can press play and unmute to hear the audio.
Key features
- The model writes lesson content in a specified JSON format
- Code validates the lesson JSON, and a browser plays drawings in sync with the explanation
- Draws shapes and tables in step with the positions of spoken words
- Adds a multiple-choice review question at the end of a lesson
- Lets users specify a model and reference notes and check the token count and cost per lesson