Skip to content

Inifite Fluidity with Stable Diffusion

Infinite Fluidity shows an almost seamless transition between different concepts. Where does one concept end and where does a new one start? Using stable diffusion to illustrate and to stimulate reflection.

To make an animation video via stable diffusion, I interpolate between different prompt embeddings using spherical linear interpolation (slerp). Carefully selected interpolation steps lead to a very smooth transition between concepts.

Type-On Typewriter Animation in Nuke

Users of AfterEffects are used to a plethora of presets for text animation. Unfortunately, text animation in Nuke is significantly limited in that the contents of the text field cannot be easily animated. I was working on producing a music video in which type-on text shows the lyrics in time with the music and ran into the limitation. I was not willing to mask letters individually using roto tools and instead decided to write a small python program that generates the animation in side of Nuke.

The basic idea was to write a Python script that generates successive text nodes to spell out the lyrics in time and the animation between text nodes was done via a switch node. With the Python script, generating the timing for the lyrics was then as simple as specifying the start frame and the typing speed:

hookone = [
[0, "<"],
[30, "Better Patch Your Network"],
[130, "Better Patch Your Network"],
[200, "Eh Eh Better Patch Your Network"],
[320, "Better Patch Your Network"],
[385, "Eh Eh Eh Better Patch Your"]

createTypeOn('HOOK1fxd2', hookone, speed=1)

One the text can be rendered all of Nuke's capabilities can be applied easily such as projecting the text onto a 3D card and animating its position.

You can see the final result in this fun music video of my new EDM track: Patch Your Network

You can download my Python script and use it yourself. Enjoy!

Nektar Panorama T4 and loose USB connections

I have been using the Nektar Panorama T4 as midi controller for my DAW. It connects via USB and at least for Cubase has a great integration where it's possible to navigate tracks and change many settings in Cubase directly from the midi keyboard. Unfortunately, the keyboard has a major design flaw. The USB B female port is too shallow. It's where the cable connecting the midi controller to the computer plugs in. The weight of the cable is sufficient to rotate the cable out of the USB-B port and that leads to constant disconnections from the computer. While it usually reconnects, it means that it's not reliable and super frustrating to get to work.

Today, I finally had enough and decided I either had to get rid of the T4 or figure out an alternative solution. Via Thingverse I found a USB-B port support and with some modification I made it fit with the Panorama T4. Some epoxy and a few hours of cure time, I finally have a more reliable midi controller. At least, it's not disconnecting constantly.

I hope somebody from Nektar Technologies reads this blog post and fixes the design of the USB port.

Disinfection of PPE such as N95 respirator masks

An article from Consolidated Sterilizer Systems starts with: "With the global Covid-19 pandemic everywhere in the news, many healthcare professionals and concerned citizens are grappling with the shortage of respirator masks, vital tools for ensuring that healthcare workers are not infected by the people they’re trying to help."

The article suggests that microwave steam based disinfection has been effective at disinfecting, specifically removing H1N1, from non-metal N95 respirator masks. Here is a 3D grid that can be placed into a glass tupperware container filled with some water and then put into a microwave. Don't put anything with metal into the microwave. Alternatively, you can use this grid in the oven as well; see the description in the article.

This grid is 4.4" square and 1.25" tall. It's easy for me to produce any other dimensions.

The log reduction for microwave steam is around ~5, i.e. 100,000 times less viable virus. The article does not give a protocol. I put the filter in the microwave for 3 minutes which was sufficient to boil the water for 2 minutes. For oven steam, the protocol requires 3 hours under warm water steam and let to a slightly smaller log reduction of ~4.8, i.e. 63,000 times less viable virus. This requires an oven that has good temperature control.

Disclaimer: It is unclear if this is effective for disinfection. Even with high-temperature filament, it is unclear if a 3d printed grid is appropriate for this application.

How to forge a sword: From start to finish!

Did you ever wonder how swords were made? My recent video series shows all the steps involved in making a sword. I start from scratch by heating and forging a piece of high-carbon steel into the form of a sword and finish by showing sharpening the sword and cutting exercises. The techniques are very similar to how swords were made for thousands of years. The video documentation is split up into four different parts - you can also go directly to the complete play list on how to forge a sword

In the first video, I take a flat piece of 1075 steel, heat it in the forge and forge in the tang and the tip of the sword. I then forge the bevels and the fuller. After checking that everything is straight and that I have achieved the right dimensions, I normalize the sword to relieve stress created by hammering it. The video shows how to make the sword blade hard by heat treating it - that is quenching it and then tempering the blade.

The second video shows to make the lower and upper guard as well as the pommel. I show how to establish the basic shape and spent a lot of time grinding the blade on a belt sander. This creates the correct geometry and reduces the weight significantly. It is important for the complete sword to be as light as possible since that makes it less strenuous to swing.

Now, I finish shaping the guards and pommel and use a laborious process to fit them perfectly to the shape of the tang. I also take a piece of wood and fit the tang by burning it through the wood. At the end of this video, all the pieces can be roughly assembled.

The final video shows how I create decoration with gold wire using a Koftgari-like process. The wooden core is wrapped with hemp cord and leather and finally everything is put together. I hot peen the tang over the pommel to create a strong mechanical connection. Finally, the sword is sharpened and put to use.

After watching these videos, you should have a very good understanding how the sword is made. The whole process took about 100 hours. The videos condensed this into about 40 minutes. Enjoy!!!

A Day at the Forge: A Study in Sound

A lot of people ask me about putting more emphasis on the "authentic" sounds that accompany working at the forge. My usual answer is that it can be damn loud. So, loud that it's difficult to talk with each other, especially when running a forced-air burner. The other day, I decided to take my day at the forge to demonstrate these sounds. You will hear the noise atmosphere from neighboring shops, the fan of the coal forge and the very loud forced-air burner. Enjoy.

The background music is "Passing Time" by Kevin MacLeod from Youtube's Audio Library. The video was shot in low light on a Blackmagic Camera using a Canon 17-55m f/2.8 lens. Audio recorded with an Audio-Technica BP4029 shotgun microphone on a Tascam DR-100 MkII. Editing and grading in Final Cut Pro X. Video and Music synchronization via PluralEyes.