Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 502 Bytes

File metadata and controls

17 lines (11 loc) · 502 Bytes

SignalRenderJs

Signal demo that responds to user input and elapsed time.

Expected Behavior:

Browser

Current state is displayed as text in the browser. For example:

{ dir: Right, pos: 42 }

This indicates a direction to step and a current position.

Every 200ms, the position will increment or decrement based on the current direction.

You may change the direction by pressing either the left or right arrow keys.