Wired Oscilloscope
From GMod Wiki
Wiremod Tool | Back |
Function: | Draw lines on a screen. |
Primary fire: | Creates an oscilloscope. |
Secondary fire: | No action |
Reload: | No action |
Notes: | Useful if you want to make graphs. |
Instructions
The oscilloscope is basically a screen that can output a pixel. That pixel leaves a line behind it that slowly disappears again.
Inputs
The oscilloscope has two inputs X and Y
- X is the left-right axis on the screen. Range from -1 (right) to 1 (left)
- Y 's the top-bottom axis on the screen. Range from -1 (top) to 1 (bottom)
Variables
Five models are available: LCD Monitor, Plasma TV, Small TV, Monitor Small and Monitor Big.
Useful hints
- Don't use big values, you won't get anything out of it.
Example
Circle
1. Make a timer and input 1 to the run input.
2. Make a sin and a cos gate and input the timer output.
3. Make a Oscilloscope and input the sine value to X ad the cosine value to Y
4. Done. You should be able to see a circle on the screen.