A wooden frame with 64 green LEDs running a Game of Life simulation

Wooden CNC Sculpture Displays Conway’s Game Of Life

Conway’s Game of Life has been the object of fascination for computer hobbyists for decades. Watching the generations tick by is mesmerizing to watch, but programming the data structure and implementing the rules is also a rewarding experience, especially if you’re just getting acquainted with a new computing platform. Just as rewarding can be creating a nice piece of hardware to run the game on, as [SandwichRising] has just done: check out his beautiful wooden Game of Life implementation.

A set of PCBs implementing an 8x8 LED displayThe main part of his Game is a piece of poplar wood that was CNC routed to produce an 8×8 display adorned with neat chain-like shapes. The display consists of standard 5 mm green LEDs, but they’re not the things you see poking out the front of the wooden frame. Instead, what you’re seeing are 64 lenses made out of epoxy. [SandwichRising] first covered the holes with tape, then poured green epoxy into each one and waited for it to harden. He then took off the tape and applied a drop of UV-cured epoxy on top to create a lens.

All the LEDs are mounted on PCB strips that are hooked up to a central bus going to the main ATmega328P  microcontroller sitting on a separate piece of PCB. Whenever the system is powered on, the game is set to a random state determined by noise, after which the simulation begins. On such a small field it’s pretty common for the game to end up in a stable state or a regular oscillation, which is why the ATmega keeps track of the last few dozen states to determine if this has happened, and if so, reset the game to a random state again.

The source code, as well as .STL files for the PCBs and the frame, are available in the project’s GitHub repository. If woodworking isn’t your thing, there’s plenty of other ways to make neat Game of Life displays, such as inside an alarm clock, with lots of LEDS under a coffee table, or even with a giant flip-dot display.

Making Your Own VR Headset? Consider This DIY Lens Design

Lenses are a necessary part of any head-mounted display, but unfortunately, they aren’t always easy to source. Taking them out of an existing headset is one option, but one may wish for a more customized approach, and that’s where [WalkerDev]’s homebrewed “pancake” lenses might come in handy.

Engineering is all about trade-offs, and that’s especially true in VR headset design. Pancake lenses are compact units that rely on polarization to bounce light around internally, resulting in a very compact assembly at the cost of relatively poor light efficiency. That compactness is what [WalkerDev] found attractive, and in the process discovered that stacking two different Fresnel lenses and putting them in a 3D printed housing yielded a very compact pancake-like unit that gave encouraging results.

This project is still in development, and while the original lens assembly is detailed in this build log, there are some potential improvements to be made, so stay tuned if you’re interested in using this design. A DIY headset doesn’t mean you also must DIY the lenses entirely from scratch, and this option seems economical enough to warrant following up.

Want to experiment with mixing and matching optics on your own? Not only has [WalkerDev]’s project shown that off-the-shelf Fresnel lenses can be put to use, it’s in a way good news that phone-based VR is dead. Google shipped over 10 million cardboard headsets and Gear VR sold over 5 million units, which means there are a whole lot of lenses in empty headsets laying around, waiting to be harvested and repurposed.

A Wigglegram Lens With Variable Aperture

Wigglegrams are those weird animated pictures you’ve seen that seem to generate a 3D-like effect. [scealux] had built lenses to take such pictures before, but wanted to take things to the next level. Enter the Wigglegram Lens, version 2.

In building a new lens for the Open Sauce ’23 event, [scealux] wanted to get variable aperture working, while also improving focus speed. The lens was also intended for use with a Sony A7R3. Unlike his previous effort, this lens would only work on the full-frame Sony FE mount cameras.

The lens uses a bevy of 3D printed parts, along with plastic lenses salvaged from old disposable cameras. When assembled, it takes three photos simultaneously on one single frame. They can then be reassembled into a Wigglegram by post-processing on a computer. The results are grainy and rough, but yet somehow compelling.

If you want to see [scealux]’s original build for Sony E-mount cameras, we covered it here. Video after the break.

Continue reading “A Wigglegram Lens With Variable Aperture”

Probably The Cheapest Lens You Will Ever Use

Photographic enthusiasts will invariably amass an extensive collection of lenses, and in their communities there are near-mythical and sought-after lenses that change hands for incredible prices. It’s probably the oldest photographic adage though, that the best camera in the world is the one in your hand when the scene presents itself, and probably one of the simplest cameras in the world remains the disposable film camera. Their tiny plastic lenses are not in the same league as the pricey ones, but can they be used by a more serious photographer? [Volzo] set out to find out.

Disposable cameras aren’t the most environmentally friendly items, and he rightly points out that a cheap compact camera can deliver the same in a more sustainable package. There’s also the point to make that the flash capacitor if it has one can deliver a nasty shock, but once past that it’s easy to remove the lens itself.

A single element lens brings with it some significant distortion, and it’s a surprise to find that the focal plane of a disposable camera is curved to take account of that. His first 3D printed mount and adapter for a Sony mirrorless compact camera uses a small aperture to reduce the distortion effects from the edge of the lens but he’s not out of tricks yet. Using a pair of the lenses back-to-back he halves the focal length but further corrects the distortion and delivers a consequent wider angle. Take a look, in the video below.

The result is a usable lens for the toy-camera look on your digital camera, and since the files can all be found at the link above it’s something you can try too. If a disposable camera comes our way, we certainly will.

This isn’t the first disposable camera lens project we’ve brought you.

Continue reading “Probably The Cheapest Lens You Will Ever Use”

Make Yourself A Megamind With A Hypercentric Camera

Sometimes, all it takes to learn something new is a fresh perspective on things. But what’s to be learned from reversing your perspective completely with a hypercentric lens? For one thing, that you can make humans look really, really weird.

To be fair, there’s a lot to the optical story here, which [volzo] goes over in ample detail. The short version of it is that with the right arrangement of optical elements, it’s possible to manipulate the perspective of a photograph for artistic effect, up to the point of reversing the usual diminishment of the apparent size of objects in the scene that are farther away from the camera. Most lenses do their best to keep the perspective of the scene out of this uncanny valley, although the telecentric lenses used in some machine vision systems manipulate the perspective to make identical objects within the scene appear to be the same size regardless of their distance from the camera. A hypercentric lens, on the other hand, turns perspective on its head, making near objects appear smaller than far objects, and comically distorts things like the human face.

[volzo]’s hypercentric camera uses a 700-mm focal length Fresnel lens mounted on a motorized gantry, which precisely positions a camera relative to the lens to get the right effect. A Raspberry Pi controls the gantry, but it’s not strictly needed for the hypercentric effect to work. Lighting is important, though, with a ring of LEDs around the main lens providing even illumination of the scene. The whole setup as well as the weirdly distorted portraits that result are shown in the video below.

If these bizarrely distorted faces look familiar, you might be recalling [Curious Marc]’s head-enlarging wearable.

Continue reading “Make Yourself A Megamind With A Hypercentric Camera”

A Fresnel Lens Without The Pain

Making a traditional glass lens requires a lot of experience, skill, and patience grinding a piece of glass to the required shape, and is not for the casual experimenter. Making a glass Fresnel lens with its concentric rings requires even more work, but as the ever-resourceful [Robert Murray-Smith] shows us, a Fresnel lens can be made from far more mundane materials. He shows us a working lens made from transparent plastic tube, and even successfully smoulders a piece of paper with it under the anaemic British sun.

His lens, with its circular profile tube filled with water, is not perhaps the most efficient lens in terms of light focused per unit area of lens. From dredging up our highschool physics lessons we are guessing that half the light is diffracted outwards rather than inwards by the cylindrical profile of the coil, but for the cost of the whole device we’re not sure that matters. Next time we’re shipwrecked on a desolate island with a handy supply of clear plastic tube and fresh water, we know we can always raise a fire.

If Fresnel lenses interest you, we’ve taken a look in the past at their history.

Continue reading “A Fresnel Lens Without The Pain”

IR Camera Is Excellent Hacking Platform

While there have been hiccups here and there, the general trend of electronics is to decrease in cost or increase in performance. This can be seen in fairly obvious ways like more powerful and affordable computers but it also often means that more powerful software can be used in other devices without needing expensive hardware to support it. [Manawyrm] and [Toble_Miner] found this was true of a particular inexpensive thermal camera that ships with Linux installed on it, and found that this platform was nearly perfect for tinkering with and adding plenty of other features to turn it into a much more capable tool.

The duo have been working on a SC240N variant of the InfiRay C200 infrared camera, which ships with a Hisilicon SoC. The display is capable of displaying 25 frames per second, making this platform an excellent candidate for modifying. A few ports were added to the device, including USB and MicroSD, and which also allows the internal serial port to be accessed easily. From there the device can be equipped with the uboot bootloader in order to run essentially anything that could be found on any other Linux machine such as supporting a webcam interface (and including a port of DOOM, of course). The duo doesn’t stop at software modifications though. They also equipped the camera with a lens, attached magnetically, which changes the camera’s focal length to give it improved imaging capabilities at closer ranges.

While the internal machinations of this device are interesting, it actually turns out to be a fairly capable infrared camera on its own as well. The hardware and software requirements for these devices certainly don’t need a full Linux environment to work, and while we have seen thermal cameras that easily fit in a pocket that are based on nothing any more powerful than an ESP32, it does tend to simplify the development process dramatically to include Linux and a little more processing power if you can.

Continue reading “IR Camera Is Excellent Hacking Platform”