My first Meclib question - mkraska/meclib GitHub Wiki

Instructions for creating a simple question with interactive graphical input. They were developed for a 1.5 hr workshop (Video) given at the 2024 International Meeting of the STACK Community in Amberg-Weiden.

Some adjustments were made in spring 2025.

Task

Compute the length of the hypotenuse in the given rectangular triangle and interactively specify the center of gravity.

image

The xml file demo_questions/questions-MO-Meclib tutorial.xml contains the question in various states of authoring (save points). So you can use these save points to start wherever you want.

Meclib tutorial: Basic Question Setup

  • Nothing specific to Meclib, just standard STACK setup. Leads to save point P1b

Meclib tutorial: Add an image

  • Add the triangle with labels. Leads to save point P2.

Meclib tutorial: Add more input fields and randomization

  • Leads to save points P3 (randomization), P4 (second input) and P5 (third input).

Meclib tutorial: Add Meclib feedback functions

  • Leads to save point P6.

Meclib tutorial: Interactive graphical input

  • Leads to save point P7.