3D Puzzle Game For C64 Uses Every Optimization There Is

Occasionally someone points the infinite patience of a coding LLM in an interesting direction, and in this case, it was to work around the hardware constraints inherent in retro computing. The result is LEST, a first-person 3D puzzle game by [needlestack] with performance optimized with the help of Claude Code and it looks like something that simply shouldn’t be possible on a C64.

LEST partly deals with hardware constraints by finding clever ways to do conventional things faster, but mostly it arranges things in such a way that a responsive 3D view can be rendered with an absolute minimum of work needed in the first place.

For example, the gameplay shown here might look like a raycasted bitmap, but it’s actually a 40 x 25 grid of custom character cells. Instead of having the CPU draw things pixel by pixel, the view gets splatted out using a minimum of characters that are a statistical best fit for the pattern of wall edges needed to represent a given frame. It really leans on the fact that the representation doesn’t need to be geometrically exact, just close enough to look right. A small cache makes this even faster by only drawing areas that meaningfully change from one frame to the next.

Another neat optimization trick is that the renderer only constructs the top half of the 3D view; the bottom half is simply a switch to a second, “mirror image” character set. That and much more all adds up to a level of performance it’s difficult to imagine being wrung out of a C64.

You can play it online and the GitHub repository has everything you need to run it on genuine hardware, or an emulator of your choice.

The level of optimization is impressive, but what’s even better is that LEST is a genuinely clever retro puzzle game. There are no instructions, but you’ll figure it out. Fans of Doctor Who may have a slight advantage.

While the optimization done with the help of a coding AI is impressive, that’s not the only way to get amazing performance out of old hardware. Check out POLF, another character-mode fully 3D game for the Commodore PET that would have also dropped jaws back in the day.

Continue reading “3D Puzzle Game For C64 Uses Every Optimization There Is” →

Stop Motion And Modern 3D Printing

Modern CGI and green screens have led most movie studios to abandon traditional filmmaking methods. However, certain mediums persist during the takeover of 3D animation, with some modern touches. Stop motion animation is a prime example of the innovation needed to survive the computer age. [Tested] chose to explore LAIKA’s mass additive manufacturing facility to see all the possibilities modern 3D printing can allow in the industry.

Stop motion often requires a different physical model per frame. Modeling, priming, and painting add up quickly. LAIKA uses polyjet printers, which allow for full color prints, removing the need for physical painting, at least for every single frame. Faces, hair, and even clothes can then be replaced by another model that was printed at the same time as the previous model.

Continue reading “Stop Motion And Modern 3D Printing” →

Freaking Metal Bending Lasers

For those familiar with welding, there is a good chance that you have had an unpleasant run-in with thermal warping in your project. But what if you used this warping in a controlled manner to bend your material in an automated process? [Excessive Overkill] decided to give it a try by using a laser CNC to both cut and fold sheet metal in one run.

Through a variety of testing, [Excessive Overkill] found a fair amount of success with the bending procedure. However, there were a few adjustments that were needed to get decent results. The CO2 laser benefited from additional airflow from the fiber laser, and there was some script automation to make the actual machine paths.

Continue reading “Freaking Metal Bending Lasers” →

Fixing A Memory Bug In Linux, For Faster Networking

Content delivery networks are notoriously complex and finicky systems. So no one at CDN77 was terribly surprised when customers started complaining about degraded performance on their edge servers. For a few hours they would notice slower speeds, than, the bug would self-heal and normal speeds would return. But that simple complaint led down the road to patching a bug in the Linux kernel.

In a sense, CDN77’s edge network consists of a large number of high-memory CPU servers geographically dispersed serving nginx with a bit of magic. These are used a the last point in a chain of proxies to serve content like videos to the end-user. The usual suspects could be eliminated early on in the process. The issue was geographically disperse, eliminating ISP issues. The servers were also identically configured. Even the CPU utilization returned normal, with no reported memory pressure.

Continue reading “Fixing A Memory Bug In Linux, For Faster Networking” →

Flying An RC Plane Controlled By An Old Smartphone Mainboard

Recently [Mountain DS Lab] finally got a chance to fly an RC plane controlled by the old smartphone mainboard that he had previously cobbled together with a regular flight controller solution. This uses a custom Android application on the smartphone to provide a video link via LTE and a way to control the RC plane as long as it’s within reach of an LTE cell tower network.

Before stuffing it all into an RC plane and heading off to the local airstrip, he figured that he’d test some characteristics like signal strength and overall latency. Since a smartphone’s metal sides are generally used as antennae, here a replacement antenna proved to be a good idea. Even with that latency for the signal was about 400 – 500 ms, which is all right for a fairly stable RC airplane, but not easy for a beginner.

To improve his chances he did practice with an RC flight simulator, but despite this the first test flight wrecked the airplane. For the second try the mainboard was also swapped out for one featuring a 5G modem, which proved to have good signal strength even without a stub antenna grafted onto it.

While landing the RC plane still isn’t his strong suit, the FPV feed doesn’t look too terrible at this point, showing that the only thing holding him back at this point are his own RC piloting skills.

Continue reading “Flying An RC Plane Controlled By An Old Smartphone Mainboard” →

You Need Nitrous Oxide, But All You Have Is Urine

The beautiful part about understanding chemistry is that not only will you have borderline magical skills in a post-apocalyptic era, but you’ll also be able to perform great party tricks that your neighbors are likely to be not very enthusiastic about. In the case of [Hyperspace Pirate]’s rundown of how to make urine into nitrous oxide – great as rocket oxidizer and for feuling fast cars – this latter element commences with the part where you boil down the urine.

After surviving that step, you should have fairly concentrated urea from which ammonia can be created by adding sodium hydroxide (NaOH). This NaOH can be recovered from the produced Na2CO3, making it a reusable additive. Next, ammonia is turned into nitric acid using the Ostwald process, which passes the ammonia over a hot platinum catalyst.

The following steps involve mixing this nitric acid with more ammonia to get ammonium nitrate, which when heated to 200-250 °C turns into nitrous oxide and water vapor. Although this process works, it’s quite labor-intensive, with various olfactory- and explosion-risks along the way. It’s probably best to just buy your nitrous oxide, barring a societal breakdown which would warrant this kind of effort.

An interesting detail is that carbon dioxide is R744 and Nitrous Oxide R744A, which strongly suggests that there’s some compatibility with tanks and even refrigeration systems, but that seems like a long bet. Although with [Hyperspace Pirate]’s past work on insane coolers, we’re not ruling anything out.

Continue reading “You Need Nitrous Oxide, But All You Have Is Urine” →

A circular brass housing is shown in the center of the image. A circular portion in the center of one face is spinning at a high speed. Six plastic hoses lead to fittings around the edge of the housing, and a larger brass pipe leads into one side.

Homemade Turbopump Keeps Itself From Melting

Although they get less attention than such components as engines, heat shields, and valves, turbopumps are one of the hardest parts of a rocket to design. A turbopump burns a portion of the rocket’s propellants and uses the exhaust gasses to drive a turbine, which in turn drives the propellant pumps. Despite the considerable engineering challenges associated with designing such a system, [Integza] managed to build a miniature turbopump which pumps coolant quickly enough to keep itself from melting.

The biggest difficulty with designing a high-performing turbopump is simply the temperature gradient: the turbine is in contact with the combustion exhaust gasses, while on the other side of the drive shaft, the pump is in contact with cryogenic propellants; in the case of the Saturn V’s turbopumps, the difference was approximately 1,000 ℃. In spite of the thermal expansion induced by such temperatures, the various rotors, which are spinning at thousands of RPM, need to stay centered and balanced to avoid a violent self-destruction. In [Integza]’s case, matters are slightly simplified by the fluids used: rather than pumping propellant, this only pumps cooling water, and burns propane with compressed air.

Most of the assembly, including the combustion chamber and turbine, was CNC-machined out of brass, which melts at a temperature considerably below that of the exhaust gasses; thus, the water is pumped directly through the assembly at a rate calculated to keep it well within the safe range. The assembly has four main components: the combustion chamber, a stator, the turbine, and the pump. The stator sits between the combustion chamber and the turbine, and contains a series of rocket-nozzle-shaped grooves along its outer rim, which accelerate the exhaust before it passes through the turbine. Despite the lacklustre performance of a 3D-printed prototype, the final version worked well, remaining cool enough to comfortably touch even during operation.

We’ve seen a turbopump design here before, though not one actually powered by combustion. Turbopumps can power more than just rocket engines; in the Saturn V’s case, the kerosene which they pumped also drove the hydraulics.