BrushCue Example: Radians to Degrees¶

Open In Colab

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

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

radians = bc.Float.pi()
graph = bc.Float.divide(bc.Float.multiply(radians, 180.0), bc.Float.pi())

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