r/ArduinoProjects • • Oct 18 '26

Showcased Project My CYD project

Photoreal 3D Citroen C3 on a $10 ESP32 Cheap Yellow Display, touch to rotate

I put a near-photoreal, touch-rotatable model of my own car (white 2018 Citroen C3 with a red roof) on an ESP32-2432S028 "Cheap Yellow Display". It isn't real-time 3D. Instead, I pre-rendered 344 frames in Blender Cycles and stored them as JPEGs in the 4 MB flash, with no SD card. Each frame is decoded with JPEGDEC and pushed over DMA at about 24 fps.

Swipe to spin it 360° with inertia

LIGHTS turns the headlights on and off

DOOR turns the car to face you and opens the door

BURNOUT revs the engine with smoke, drives off, and comes back from the other side😌

327 Upvotes

22 comments sorted by

View all comments

5

u/Extreme_Turnover_838 Oct 19 '26

I'm the author of JPEGDEC. You just gave me an idea to shrink the data for applications like this. If every frame has the same header info (fixed Huffman tables, same dimensions and subsampling), I could split the API into header parsing and raw data decoding so that 1 header could be reused.

3

u/Prudent-Mountain-57 Oct 19 '26

Wow, thanks for JPEGDEC, it's what makes this whole project work! Yes, every frame here has identical dimensions, subsampling and tables, so a shared header would be perfect. With ~10 KB frames, cutting a few hundred bytes of headers from each of the 344 frames would free up room for more angles or clips. Skipping the header parse per frame might also save a little decode time. I'd be happy to test it on the CYD if you add that API💪