bMax 9CU…ŠNEN…şN…ČNENENIR%CMKE}N…˙N EN E4N G N E NGNENILCMKEWN…N E"N …ąN G N E NGNENILCMKENEN E!N …MN G N ENGNENILCMKENEN EN …ŹN G N E NGNENILCMK…–N…ŠN E_N …ÎN GNENILCMKENEJN EN EN ENENE}NILCMKE.NE]N EN …°N ENI˙˙˙˙CCCC˙˙˙˙ILCMKE.NEJN EN …°N ENI˙˙˙˙C CCC˙˙˙˙ILC!MKEN…N EN E@N E NILC"C#MK EN…4N EN EUN E NILC$MK ENEqN EN E"N E NILCMK …ÝNE*N EN EN ENENE}NILC%MK …ÝNEAN E N E!N ENILA€AC&MK …ŒNEmN EN EJN ENILCMK…őNE*N EN E6N G'NENIL€C(MK…ŒN…„N EN ERN ENILC)MK…ĽN…ŞN EN EN ENILCMK…šN…ŁN EN E6N G*NENILAC(MK…öNEkN EN EFN ENILAAAC&MK…öNEVN EN E8N ENILAC+MK…ŒN…ĘN EN E8N ENIL€C,C-MK…öN…‚N EN E8N ENILC%MK…ÎN…ŕN E N E!N ENILC%MK…•N…âN E N E!N ENILC.C/MK…ÎN…óN EN E>N ENILC0C/MK…ŒN…ôN EN E@N ENILCMK…1N…ƒN EN EN G1NENILAC,C-MK…ÎN… N EN E8N ENILC2C/MK…ÎN…AN EN EYN ENILCMK…CNE_N EN EYN G3NE NILCMK…ŮN… N EN …N G4NE!NIL€€C5MK…ÎN…WN EN ……N E"NILAC0C6MK EN…‰N EN ExN G N ENENILAC0C6MK!EN…ŤN EN ExN G N ENE NILAC0C6MK"EN…ÍN EN ExN G N ENE NILCMK#…&N…ŞN EEN …ŸN G7NE#NILCMK$…ÓN…ƒN E_N …ĂN G8NE$NILAAJ JILAAJ JILAAJ JILAAJ JILAAJ J ILAAJ J ILAAJ J ILAAJJ ILAAJJ ILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJJILAAJ!J ILAAJ"J!ILAAJJ"ILjpatcherwxwywhwwinsoutsjcommentxyhwSansSeriffontfssyntax:commentlayer@fold @fold, @inner, @outerGridflowtreats the grid as a grid of one-dimensional grids such that the same operation (here addition) will be performed on all its elements together with the base value. the results are combined back. each @fold operation removes a dimension.buttoncolorflashmessboxclearr001.ppmfileppmopenappendteapot.ppm@exportvalueprint@inforkfordraw@importtoggleselect patterndemux*@^@outer+makes (128,256,384)gammamakes (1,2,3)combine channelless picture with gamma factors (r,g,b)@out@fold@outer does the same two-input operation between every possible pair of the left-side grid and the right-side grid.@inner treats both input grids like @fold does, then does a @outer on the other dimensions, such that every two-input operation is like a @fold. this is a very powerful operation that can be used to do rotations, rgb->yuv color conversions, etc.