BrushCue Example: Degrees to Radians¶
You can use this tool online at https://www.brushcue.com/tools/degrees-to-radians
In [ ]:
!pip install brushcue
In [1]:
import brushcue as bc
degrees = 180.0
graph = bc.Float.divide(bc.Float.multiply(degrees, bc.Float.pi()), 180.0)
ctx = bc.Context()
print(graph.execute(ctx))
3.1415927410125732
[wgpu] using backend Metal — adapter 'Apple M5' (IntegratedGpu), driver ''