Oh, The Places You’ll Go With Stop Motion Animation

Robots made of broken toy parts, stop-motion animation, and a great song to tie it all together were not on our bingo card for 2023, but the results are perfect. [Mootroidxproductions] recently released the official music video for I Fight Dragons 2019 song “Oh the Places You’ll Go”.

The song was written by lead vocalist [Brian Mazzaferri] with inspiration from the classic Dr. Seuss book. [Brian] wrote it for his newborn daughter, and we’re pretty sure it will hit any parent right in the feels.

[Mootroidxproductions] isn’t a parent themselves, but they expanded on the theme to create a video about sacrificing oneself to save a loved one. With a self deprecating wit, they take us through the process of turning broken Bionicle parts, bits of Gundam, Lego, and, armature wire to make the two robots in the film. He also explains how he converted garbage into sets, greebles, and lighting effects.

The robots had to be designed so that they could fulfill their roles in the film. From the size of their hands down to their individual walking gaits, he thought of everything. His encyclopedic knowledge of Bionicle parts is also on full display as he explains the origin of the major parts used to build “Little Blue” and “Sherman”

Click through the break for both the main video and the behind-the-scenes production.

Continue reading “Oh, The Places You’ll Go With Stop Motion Animation”

Hackaday Links Column Banner

Hackaday Links: July 2, 2023

Members of Pixelbar woke up to shocking news on Wednesday morning this week as they learned that a fire had destroyed the building housing their Rotterdam hackerspace. Pictures of the fire are pretty dramatic and show the entire building ablaze. We’re not familiar with Pixelbar specifically, but most hackerspaces seem to share space with other businesses in repurposed warehouses and other industrial buildings, and it looks like that was the case here. Local coverage doesn’t indicate that a cause has been determined, but they do say that “large batches of wood” were stored in or near the structure, which likely contributed to the dramatic display. There don’t seem to be reports of injuries to civilians or first responders, so that’s a blessing, but Pixelbar seems to have been completely destroyed. If you’re in a position to help, check out their GoFundMe page. As our own Jenny List, who currently lives in The Netherlands, points out, spaces suitable for housing a hackerspace are hard to come by in a city like Rotterdam, which is the busiest port in Europe. That means Pixelbar members will be competing for space with businesses that have far deeper pockets, so anything you can donate will likely go a long way toward rebuilding.

Continue reading “Hackaday Links: July 2, 2023”

Smooth Animations, Slick Bar Graphs, But No Custom Characters On This 16×2 OLED

Sometimes, finding new ways to use old hardware requires awesome feats of reverse engineering, software sleight of hand, and a healthy dose of good fortune. Other times, though, it’s just as simple as reading the data sheet and paying attention to details.

Not that we’re knocking [upir]’s accomplishment with these tricked-out 16×2 OLED displays. Far from it, in fact — the smoothly animated bar graph displays alphanumerics look fantastic. What’s cool about this is that he accomplished all this without resorting to custom characters. We’ve seen him use this approach before; this time around, the hack involves carefully shopping for a 16×2 OLED display with the right driver chip — a US2066 chip. You’ll still need a few tricks to get things working, like extra pull-up resistors to get the I2C display talking to an Arduino, plus a little luck that you got a display with the right character ROM.

Once all that is taken care of, getting the display to do what you want is mainly a matter of coding. In the video below, [upir] does a great job of walking through the finer points, and the results look great. The bar graphs in particular look fantastic, with silky-smooth animations.

Continue reading “Smooth Animations, Slick Bar Graphs, But No Custom Characters On This 16×2 OLED”

Signed Distance Functions: Modeling In Math

What if instead of defining a mesh as a series of vertices and edges in a 3D space, you could describe it as a single function? The easiest function would return the signed distance to the closest point (negative meaning you were inside the object). That’s precisely what a signed distance function (SDF) is. A signed distance field (also SDF) is just a voxel grid where the SDF is sampled at each point on the grid. First, we’ll discuss SDFs in 2D and then jump to 3D.

SDFs in 2D

A signed distance function in 2D is more straightforward to reason about so we’ll cover it first. Additionally, it is helpful for font rendering in specific scenarios. [Vassilis] of [Render Diagrams] has a beautiful demo on two-dimensional SDFs that covers the basics. The naive technique for rendering is to create a grid and calculate the distance at each point in the grid. If the distance is greater than the size of the grid cell, the pixel is not colored in. Negative values mean the pixel is colored in as the center of the pixel is inside the shape. By increasing the size of the grid, you can get better approximations of the actual shape of the SDF. So, why use this over a more traditional vector approach? The advantage is that the shape is represented by a single formula calculated at many points. Most modern computers are extraordinarily good at calculating the same thing thousands of times with slightly different parameters, often using the GPU. GLyphy is an SDF-based text renderer that uses OpenGL ES2 as a shader, as discussed at Linux conf in 2014. Freetype even merged an SDF renderer written by [Anuj Verma] back in 2020. Continue reading “Signed Distance Functions: Modeling In Math”

Mechanical GIF Animates With The Power Of Magnets

It doesn’t matter how you pronounce it, because whichever way you choose to say “GIF” is guaranteed to cheese off about half the people listening. Such is the state of our polarized world, we suppose, but there’s one thing we all can agree on — that a mechanical GIF is a pretty cool thing.

What’s even better about this thing is that [Mitch], aka [Hack Modular], put some very interesting old aircraft hardware to use to make it. He came upon a set of cockpit indicators from a Cold War-era RAF airplane — sorry, “aeroplane” — that used a magnetically driven rack and pinion to swivel a set of prism-shaped pieces to one of three positions. Which of the three symbols displayed depended on which faces were turned toward the pilot; they were highly visible displays that were also satisfyingly clicky.

After a teardown in which [Mitch] briefly discusses the mechanism behind these displays, he set about customizing the graphics. Rather than the boring RAF defaults, he chose three frames from the famous Horse in Motion proto-motion picture by [Eadweard Muybridge]. After attaching vertical strips from each frame to the three sides of each prism, [Mitch] came up with a driver for the display; he could have used a 555, but more fittingly chose series-connected relays to do the job. Capacitors slow down the switching cascade and the frame rate; a rotary switch selects different caps to make the horse appear to be walking, trotting, cantering, or galloping — yes, we know they’re each physically distinct motions, but work with us here.

The whole thing looks — and sounds — great mounted in a nice plastic enclosure. The video below shows it in action, and we find it pretty amazing the amount of information that can be conveyed with just three frames. And we’re surprised we’ve never seen these displays before; they seem like something [Fran Blanche] or [Curious Marc] would love.

Continue reading “Mechanical GIF Animates With The Power Of Magnets”

Illuminated smart curtain in front of a window, beside a Christmas tree

Smart LED Curtain Brings Sprites To Your Windows

Mobile interface for LED smart curtain display
A mobile interface is a nice touch

Anybody who has ever seen a video wall (and who hasn’t?) will be familiar with the idea of making large-scale illuminated images from individual coloured lights. But how many of us have gone the extra mile and fitted such a display in our own homes? [vcch] has done just that with his Deluxe Smart Curtain that can be controlled with a phone or laptop.

The display itself is made up of a series of Neopixel strips, hung in vertical lines in front of the window.  There is a wide gap between each strip, lending a ghostly translucent look to the images and allowing the primary purpose of the window to remain intact.

The brains of the system are hosted on a low-cost M5stack atom ESP32 device. The data lines for the LEDs are wired in a zig-zag up and down pattern from left to right, which the driver software maps to the rectangular images. However, the 5V power is applied to the strips in parallel to avoid voltage drops along the chain.

If you’d like to build your own smart curtain, Arduino sketch files and PHP for the mobile interface are included on the project page. Be sure to check out the brief video of what the neighbors will enjoy at night after the break.

If video walls are your kind of thing, then how about this one that uses Ping Pong Balls as diffusers? Continue reading “Smart LED Curtain Brings Sprites To Your Windows”

Closeup of a film restorer's hand holding a 35mm film print to check for defects as it goes into a film scanner

35mm Film Restoration Process Explained

For a large part of the 20th century, motion pictures were distributed on nitrate film. Although cheaper for the studios, this film was highly flammable and prone to decay. On top of that, most film prints were simply discarded once they had been through their run at the cinema, so a lot of film history has been lost.

Sometimes, the rolls of projected film would be kept by the projectionist and eventually found by a collector. If the film was too badly damaged to project again, it might still get tossed. Pushing against this tide of decay and destruction are small groups of experts who scan and restore these films for the digital age.

still showing the difference in quality between a 16mm print of a 35mm animated movie and a new scan of the 35mm original
The quality difference between a smaller-format print and the original restored negative can be startling

The process is quite involved – starting with checking every single frame of film by hand and repairing any damaged perforations or splices that could come apart in the scanner. Each frame is then automatically scanned at up to 10K resolution to future-proof the process before being painstakingly digitally cleaned.

The real expertise is in knowing what is damage or dirt, and what is the character of the original film. Especially in stop-motion movies, the subtle changes between frames are really part of the original, so the automatic clean-up tools need to be selectively reined in so as not to lose the charm and art of the film-makers.

The results are quite astonishing and we all have teams like this to thank for protecting our cultural heritage.

If you’re interested in watching the process, then check out the video after the break. If you fancy a go at automatic film digitising yourself (preferably not on unique historical prints!) then we’ve shown projects to do just that in the past.

Thanks to [Cliff Claven] for the tip.

Continue reading “35mm Film Restoration Process Explained”