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