TFT ST7735 X FRACTAL DOTS (face robot)

Hi folks, I just had an idea to create a face animation for my bust of new ROBOT from tv show Lost In Space using a TFT ST7735 1.3" and arduino, Idea is create some fractal animations with dots and simulate something similar of we have on the tv show, display 1.3" fits perfectly on the face of my droid, in the tv show we have some blue color for good boy version and color red when robot become evil, so in a certain moment I 'd like to swap from blue to red and vice versa, I know the basics of graphics with adafruit, I d like to count on experts to help me out to do this project (coding wise).

Any help will be welcome....

I Just started yesterday some ideas.....but probably I will need a sort of expression to help me out to generate multiples dots randomly

#define TFT_DC 4
#define TFT_RST 5
#define SCR_WD 240
#define SCR_HT 240
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Arduino_ST7789_Fast.h>
Arduino_ST7789 lcd = Arduino_ST7789(TFT_DC, TFT_RST);

void setup(void)
{
Serial.begin(9600);
lcd.init(SCR_WD, SCR_HT);
lcd.fillScreen(BLACK);
lcd.setRotation(1);
}

void loop()
{

lcd.fillScreen(BLACK);
lcd.drawPixel(20,100,BLUE);
delay(500);
lcd.drawPixel(20,100,BLACK);
delay(500);
lcd.drawPixel(20,110,BLUE);
delay(500);
lcd.drawPixel(20,110,BLACK);
delay(500);

lcd.drawPixel(100,100,BLUE);
delay(500);
lcd.drawPixel(100,100,BLACK);
delay(500);
lcd.drawPixel(100,110,BLUE);
delay(500);
lcd.drawPixel(100,110,BLACK);
delay(500);

I am sure that you will get plenty of help once you have written some code that you need help with

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.