Tangle document
✓ Published0🌍 Public
MMraleksa
Last edited Feb 3, 2016
Created on Feb 3, 2016
This example uses the Tangle library, created by Bret Victor, to build an interactive document where a numerical value can be adjusted by dragging. The code sets up a model with two variables, `china` and `met`, and links an adjustable number in the text to update the metal price display based on a formula. The interaction relies on Tangle’s `TKAdjustableNumber` class and its supporting `BVTouchable` library for mouse and touch events.
AI-generated description