operating wrong enough
62 subscribers
81 photos
26 videos
1 file
15 links
glitches of my life / @speginel
Download Telegram
adorable facade in Yerevan, which is also a #reference
❀1
debugging ever first raymarched 3D object
(my mistake was to assume .33*3==1)
πŸ”₯1
β€” for this to work, you need an integer number of quotes"
β€” r u drunk?
just a pretty xorg glitch I fixed by removing intel video driver
❀2
cheat sheet for quick video edits

trim to first 10 seconds:
ffmpeg -i input.mp4 -t 10 output.mp4

trim from 24 seconds in, for 10 seconds:
ffmpeg -i input.mp4 -ss 24 -t 10 output.mp4

slow down video (e.g., 2x slower):
ffmpeg -i input.mp4 -vf "setpts=PTS*2" output.mp4

speed up video (e.g., 1.3x faster):
ffmpeg -i input.mp4 -vf "setpts=PTS/1.3" output.mp4

resize video to 700px wide, keeping aspect ratio:
ffmpeg -i input.mp4 -vf "scale=700:-2" output.mp4

combine resize and speed up options:
ffmpeg -i input.mp4 -vf "scale=700:-2,setpts=PTS/1.3" output.mp4

remove audio:
ffmpeg -i input.mp4 -an -c:v copy output.mp4

get detailed video file info:
ffprobe input.mp4
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
vec2 u=(FC.xy-.5*r)/r.x;for(int i=0;i++<7;)u=abs(1.6*u*rotate2D(t/8.-sin(5.*t)/40.))-1.;o+=step(abs(u.x)-abs(u.y),.1+.4*sin((u.x+u.y)*15.));

(live)
πŸ”₯3
midnight qgis posting
πŸ‘€5❀1
every ~2.5 years I update WM settings with larger screen width. and my new display is still not 4k πŸ˜…
πŸ‘¨β€πŸ’»2
This media is not supported in your browser
VIEW IN TELEGRAM
something broke, a minute ago it was a normal voronoi diagram
😍8
This media is not supported in your browser
VIEW IN TELEGRAM
a little flash warning: when emulating key press, don't forget to key release
This media is not supported in your browser
VIEW IN TELEGRAM
with numpy.fft + xlib I can send any keyboard events by snapping fingers. that means I can also bind music to the picture slideshow/changing browser tabs/switching workspaces. I almost have touchdesigner at home!
πŸ‘5😁1🀩1πŸ‘Œ1πŸŽ„1