Hi all:
Over XMas I received a 1.2" tft display panel and decided I wanted an impressive animated eyeball for whatever.. clock top maybe.
I did a short video showing what one looks like and said Id post the code for it.
https://www.youtube.com/shorts/jfOv-9BMgz0
This code assumes an esp32 and will make
a procedural eyeball run at 25 frames per second. For those with interest in such things, the code is included on this post.
Feel free to modify and hack, its fairly readable code and is a large modification of an arduino project of the same type by seed studio
which didn't have the 3d look I wanted. This code also uses both processors cores to enhance the speed as well as proper sin/cos distortions
caused by a virtual lens. (The eye rolls rather than moves), it's a cool effect. This is a visual C project as I use visual studio, but the
code will compile fine under the arduino free compiler.
edit: File updated 2024-01-17, corruption in previous zip.
Happy New Year,
Art
Eyeball on 1" TFT display
Eyeball on 1" TFT display
- Attachments
-
- Tft1.28InchESP32-Eyeball.zip
- (490.37 KiB) Downloaded 848 times
Re: Eyeball on 1" TFT display
thanks.
Who is online
Users browsing this forum: No registered users and 1 guest