Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Label an image and generate the frames of the popular [Intensifies] meme
ResourceFunction["IntensifiesFrames"][image] identifies image and generates 10 frames of animation with black-colored text. | |
ResourceFunction["IntensifiesFrames"][image,n] generates n frames of animation. | |
ResourceFunction["IntensifiesFrames"][image,n,color] styles the text with color. | |
ResourceFunction["IntensifiesFrames"][image,n,color,width,pbuffer] uses a resolution of width pixels across, and a maximum of pbuffer pixels of shake in each frame. |
Create a list of frames containing a labeled image:
In[1]:= |
Out[1]= |
The animation may be viewed using the ListAnimate function:
In[2]:= |
Out[2]= |
You can use the second argument n to specify the number of frames generated:
In[3]:= |
Out[3]= |
For some images, you may need to adjust the third argument (color):
In[4]:= |
Out[4]= |
You can adjust the resolution of the frames with the fourth argument (width) and the amount of shake with the fifth argument (pbuffer):
In[5]:= |
Out[5]= |
You can easily export the GIF using the Wolfram Language's built-in GIF support. You must specify the AnimationRepetitions inside the Export function for the GIF to loop:
In[6]:= |
You will have issues if the pbuffer exceeds the width. IntensifiesFrames does not verify this:
In[7]:= |
Out[7]= |
This work is licensed under a Creative Commons Attribution 4.0 International License