banner
thndl.com
@thndl.com
#genuary28 #genuary2025 #genuary

"Infinite scroll."
January 28, 2025 at 8:27 PM
January 15, 2025 at 6:48 PM
January 12, 2025 at 6:28 PM
#genuary10 #genuary2025 #genuary #python

"You can only use TAU in your code, no other number allowed."

Python code: mstdn.thndl.com/@baldand/113...
January 10, 2025 at 4:53 PM
#genuary9 #genuary2025 #genuary #python

The textile design patterns of public transport seating.

mstdn.thndl.com/@baldand/113...
January 9, 2025 at 7:26 PM
#genuary6 #genuary2025 #genuary #python

Make a Landscape using only primitive shapes.

mstdn.thndl.com/@baldand/113...
January 6, 2025 at 3:48 PM
January 5, 2025 at 8:01 PM
Lights and shadows

A small #python & #numpy program which generates an image of randomly placed & coloured lights casting shadows from 4 poles

mstdn.thndl.com/@baldand/113...
Andrew Baldwin (@[email protected])
Attached: 4 images #python doodle December 22nd - lights and shadows import numpy as n,PIL.Image as I W=1<<10 y,x,_=n.mgrid[:W,:W,:3]/W-.5 w=lambda x,y:(((x%.4-.2)**2+(y%.4-.2)**2)**.5)-.01 i=x*0 for...
mstdn.thndl.com
December 22, 2024 at 5:03 PM
Raymarching a repeating signed distance field of snowflakes with #python #numpy & #pillow

(499 characters)

mstdn.thndl.com/@baldand/113...
Andrew Baldwin (@[email protected])
Attached: 1 image #python doodle Dec 17th import numpy as n,PIL.Image as I p,A,X,N,h,R,S,F=2**-10,n.abs,n.maximum,n.minimum,.5,.866,n.sin,n.floor y,x=n.mgrid[h:-h:-p,-h:h:p] B=lambda k,c,s:X(A(k[0]*c...
mstdn.thndl.com
December 17, 2024 at 3:02 PM
Run very fast calculations from #python on your #macOS #GPU using ‘metalcompute’ package

thndl.com/python-metal...
Python gets down to (the) Metal
Turn Python on Mac up to 10 trillion with Metal
thndl.com
December 11, 2024 at 1:34 PM