How to code a gif that make the text flash
-
How to code a gif that make the text flash
-
This will make an animated gif with two frames, one frame with text, the other without, thus creating the illusion of flashing text.
w = 500 h = 500 newPage(w,h) # Draw a black background fill(0) rect(0, 0, w, h) # Draw gray text fill(0.2) font("Times-Italic", 190) text("FLASH", (w/2, h/2), align="center") newPage(w,h) # Draw a black background fill(0) rect(0, 0, width(), height()) saveImage("rapid flashing.gif")
-
This post is deleted!
-