BrushCue Example: Circle Area¶
You can use this tool online at https://www.brushcue.com/tools/circle-area
In [ ]:
!pip install brushcue
In [1]:
import brushcue as bc
radius = 3.0
graph = bc.Float.multiply(bc.Float.pi(), bc.Float.squared(radius))
ctx = bc.Context()
print(graph.execute(ctx))
28.274333953857422
[wgpu] using backend Metal — adapter 'Apple M5' (IntegratedGpu), driver ''