BrushCue Example: Sine (Radians)¶

Open In Colab

You can use this tool online at https://www.brushcue.com/tools/sine-radians

In [ ]:
!pip install brushcue
In [1]:
import brushcue as bc

angle_radians = 0.5235988
graph = bc.Float.sin(angle_radians)

ctx = bc.Context()
print(graph.execute(ctx))
0.5
[wgpu] using backend Metal — adapter 'Apple M5' (IntegratedGpu), driver ''