[FFmpeg-user] Mathematical Art
Michael Koch
astroelectronic at t-online.de
Sat Jan 28 13:08:33 EET 2023
Hello all,
this is not a question. This cool equation was designed by Hamid Naderi
Yeganeh. I did only translate it into a FFmpeg command. Let it run and
see what comes out.
ffmpeg -f lavfi -i color=black:s=hd1080,format=gray -vf
geq=lum='st(0,(X-W/3)/450);st(1,(H/2-Y)/450);255*gt(-7/20-1/PI*atan(175*pow((ld(0)-63/100),2)+3500*pow(abs(ld(1)-1/10),(26/10-6/10*ld(0)))+160*pow(sin(ld(0)+2/5),8)-50*pow(sin(ld(0)+4/5),100)-500)-exp(-2000*(pow((ld(0)-7/4),2)+pow((ld(1)-33/200),2)-1/1000))-exp(1000*(ld(0)-2/5*ld(1)-43/20))+10*(exp(-exp(1000*(-1/4+pow(ld(1)+1/2,2)))-300*(1/10+pow(ld(1),2))*pow((ld(0)-1/2+13/10+(9/100+23*-1/100)*(ld(1)+2/5)+1/10*pow(cos(ld(1)+7/10),20)),2))+exp(-exp(1000*(-1/4+pow(ld(1)+1/2,2)))-300*(1/10+pow(ld(1),2))*pow((ld(0)-2/2+13/10+(9/100+23*1/100)*(ld(1)+2/5)+1/10*pow(cos(ld(1)+7/10),20)),2))+exp(-exp(1000*(-1/4+pow(ld(1)+1/2,2)))-300*(1/10+pow(ld(1),2))*pow((ld(0)-3/2+13/10+(9/100+23*-1/100)*(ld(1)+2/5)+1/10*pow(cos(ld(1)+7/10),20)),2))+exp(-exp(1000*(-1/4+pow(ld(1)+1/2,2)))-300*(1/10+pow(ld(1),2))*pow((ld(0)-4/2+13/10+(9/100+23*1/100)*(ld(1)+2/5)+1/10*pow(cos(ld(1)+7/10),20)),2))),0)'
-frames 1 -y out.png
You find more mathematical art on his Facebook page:
https://www.facebook.com/HamidNaderiYeganeh
Michael
More information about the ffmpeg-user
mailing list