Observe and experiment with linear functions in action with this interactive function machine.
This activity has four modes. In each mode, you can hide the function by using the "blind" button. This is useful for a teacher in a demonstration. Students can also experiment on their own and learn the basic fact of how a function takes each input and produces one output.
Simulation by PhET Interactive Simulations, University of Colorado Boulder, licensed under CC-BY-4.0 (https://phet.colorado.edu).
Screenshots from the game and activity: