TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: nonPythonic Music Video

1 pointsby supernihilabout 4 years ago

1 comment

supernihilabout 4 years ago
Hi, I had some great fun coding all the effects in this video using python, opencv and dlib.<p>My approach: I work as a dev in roboto nautic drones. I am strict at the dayjob so i &quot;shitcode&quot; my &quot;artware&quot; in my sparetime meaning i usually go through the following cycle:<p>(Example based on the slitscan teeth and eyes effect from the video)<p>1. I wake up from a (day&#x2F;night)-dream with a thought: &quot;how wluld it look if the teeth grew out from a video face while showing their past as a slitscan&quot;<p>2. I find a sourcevideo since i am lazy (usually on youtube)<p>3. Load up vscode and startwriting python<p>4. I write in a state of garbage flow, garbage because the code i write is deliberatley trashy (a vent&#x2F;dayjob escape), flow because i dont do much editing. Itend to like to overwrite (reclare) functions instead of correcting them leaving a huge pile of trash code<p>3. I render a few frames, correct my algorithm, render some more and when happy (or falling asleep) i press enter and let it run (with tqdm telling me eta on completion)<p>4. I way, usually days because i deliberatelydont optimize my code so its slooooooow to render<p>5. On finnish i look at the result and feel like i got the answer and move on.<p>In this example though i didnt move on cuz i was doing a friend a favor and had to compile my messy clips into a timeline and give it back to him in form of a music video.<p>I canrelease my shitty code but i am afraidsomebody might get a seazure looking at it lol
评论 #27361884 未加载