Image.picture.depth: def of gralha-image@0.1.0.1 Import: import gralha-image@0.1.0.1/image.bend as Image Lines 47-50 of gralha-image@0.1.0.1/image.bend: https://jend.leeeet.dev/read.txt?path=gralha-image@0.1.0.1/image.bend&start_line=47&end_line=50 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def picture.depth(+size: U32, +side: U32, +depth: Nat) -> Nat: U.branch(Nat, U32.is_ge(side, size), _ => depth, _ => picture.depth(size, (side * 2 : U32), 1n+depth)) @unsafe Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_ge https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=branch