Creative Windows

How to Create a Parallax Desktop Background With Rainmeter

Christian Bonilla 25-07-2016

Rainmeter remains the champion in Windows customization because users continue to find creative ways to use the program.


One recent innovation is the parallax background. Parallax effects are a simple and impressive way to enhance the look of your desktop background. They also incorporate live wallpaper features Make Your Desktop Stunning With an Interactive Live Wallpaper Nothing makes your desktop stand out like a live interactive background. It's also one of the greatest exercises in customizing your Windows setup. We'll show you how to do it easily with Rainmeter. Read More .

Let us show you how you can create your own animated desktop wallpaper using the parallax effect and Rainmeter.

What Is a Parallax Effect? defines parallax as:

“[T]he apparent displacement of an observed object due to a change in the position of the observer.”

Using a combination of plugins and .ini files — the files used by Rainmeter to load skins or widgets onto your desktop — Rainmeter allows your mouse to act as a camera. As your mouse moves, your images shift to create a 3D effect.



Good-looking results are easy to achieve. That said, it takes a fair amount of creativity to achieve truly spectacular results. For example, check out this Firewatch theme created by reddit user /u/thefawxyone.


Word of warning: If you’d like to create a detailed, multi-layered example like the one above, some previous experience with graphic design programs like Photoshop (our idiots guide to Photoshop Learn Photo Editing in Photoshop: Get the Basics Down in 1 Hour Photoshop is an intimidating program—but with just one hour, you can learn all of the basics. Grab a photo you want to edit, and let's get started! Read More ) and GIMP (our GIMP walkthrough GIMP: A Quick Walkthrough Of Everyone's Favorite Open Source Image Editor Read More ) is required. We will not delve into how to create a complex background with hidden program launchers and VU meters. Our parallax effect will achieve a simple, yet impressive, four-layer backdrop.

Parts of the Parallax

To use this effect, let’s go over the concept of layers briefly. Rainmeter achieves the parallax effect by creating several layers, which simulate one complete background.


There are two essential parts to the Parallax effect; the foreground, and the background. The foreground is composed of several .png image files, ranging from smallest to largest. The larger images will move more than the smaller images. This simulates depth of field on your desktop. Image files must be in transparent .png format JPEG, GIF, or PNG? Image Filetypes Explained and Tested Do you know the differences between JPEGs, GIFs, PNGs, and other image filetypes? Do you know when you should use one instead of the other? Fear not, MakeUseOf explains everything! Read More , which removes white backgrounds from your images.

Choosing the Parts

I will simulate a falling Bart from The Simpsons using the parallax effect. Three image types are required for the effect: a falling Bart, some clouds particular to the cartoon style of The Simpsons, and a sky background.

Create a folder on your desktop named parallax source to save your image files. This will make it easier to add your images to Rainmeter. Through Google search How To Make Good Use Of Google's Search Operators With operators, you're able to display results that pertain only to certain websites, search through a range of numbers, or even completely exclude a word from your results. When you master the use of Google's... Read More , I found a .png image of falling Bart. You may have to create a transparent .png image yourself Remove Image Background In Seconds With The Free Background Burner How hard is it to completely remove the background from a photo? For the graphically challenged among us, the answer is "pretty darn hard". This free online tool makes it a lot easier. Read More .



Next, I’ll need cloud and background images. Remember, every element must be present in its own .png file. I found this image of clouds in the classic Simpson’s style online:


I proceeded to separate some of the clouds with Photoshop and create  separate image files for the three prominent clouds. For the background, I took color samples of the bottom and top shades of blue in the original image and created my own gradient Quick 3-Color CSS3 Gradient Generator: Easily Create Linear & Radial Gradients Read More . In total, five image files will be used, including the background.

Name your background background.png and name the images you are using for your parallax as parallax[x].png. The [x] corresponds to the layer level, starting from 0. The smallest image should be titled parallax0.png, the second smallest, parallax1.png, and so on. This is what your folder should look like:



Positioning the Parts

Now, position your .png files according to your desktop resolution. Check your desktop resolution by right-clicking your Desktop and selecting Display Settings. Click on Advanced display settings and select the Recommended settings under Resolution. These two numbers correspond to the pixel width and height of your display monitor Graphic Display Resolutions - What Do The Numbers Mean? [MakeUseOf Explains] Display resolutions can be a rather cryptic business, with multiple standards used to describe the same display resolution in 10 different ways. All of those technical terms tend to change based on the display's purpose... Read More .

Create a transparent document the size of your monitor resolution with an added 100 pixels to your length and width. Drop your files into this frame and orient the images to your liking.


The way you orient your images here is the way you will see them in your background. Once you’ve fit all your images into your frame, proceed with creating your .ini files.

Rainmeter Folder Layout

In the directory C:\Users\Rosebud\Documents\Rainmeter\Skins create a new folder named Parallax Effect.

In this folder, create three more folders and name them: @Resources, Background, and Parallax. The @Resources folder will hold all of your images, the Background folder will hold your Background.ini file to activate your background, and the Parallax folder will hold your Parallax.ini file to activate your parallax images.


Open the @Resources folder and create a folder named Images. Add your background.png file to this directory. Add another folder to this directory, and name it after your parallax effect. I’ve named mine Bart. Add your parallax[x].png images to this folder. Your Images folder should now look like this.


That’s it for image files. Now, you can begin achieving the parallax effect. In the root Parallax Effect directory (C:\Users\Rosebud\Documents\Rainmeter\Skins\Parallax Effect) create a new text file. Input the following code into this new documents.


Name this file, minding the .inc extension. This file will define the resolution of your parallax. Replace 1440 and 900 with your own resolution and save. You will also need a simple plugin, which tracks your mouse movements to move your parallax images. Download the .rmskin here to install it into Rainmeter automatically.


Next, open your Background folder. Right-click within the folder and select New > Text Document. Double-click this document to edit, and paste the following script into the file.




X=((#SCREENAREAWIDTH# / 2) - ([Parallax0:W] / 2))

Save this file as Background.ini, ensuring that you have added the .ini extension. Next, open your Parallax folder. Create a text document, and paste the following into this file.





X=(((#SCREENAREAWIDTH# / 2) - ([Parallax1:W] / 2))-(([MouseX]-(#SCREENAREAWIDTH# / 2)) / 80))
Y=(0-(([MouseY]-#SCREENAREAHEIGHT# / 2) / 80))

X=(((#SCREENAREAWIDTH# / 2) - ([Parallax2:W] / 2))-(([MouseX]-(#SCREENAREAWIDTH# / 2)) / 60))
Y=(0-(([MouseY]-#SCREENAREAHEIGHT# / 2) / 60))

X=(((#SCREENAREAWIDTH# / 2) - ([Parallax3:W] / 2))-(([MouseX]-(#SCREENAREAWIDTH# / 2)) / 30))
Y=(0-(([MouseY]-#SCREENAREAHEIGHT# / 2) / 30))

X=(((#SCREENAREAWIDTH# / 2) - ([Parallax4:W] / 2))-(([MouseX]-(#SCREENAREAWIDTH# / 2)) / 20))

You must change the P variable under your [Variables] parameter to the title of your parallax images folder. My P variable is #@#Images/Bart/parallax, for example. Only change the middle title, and keep the rest the same.


The Result

Open your Manage Rainmeter window by opening your taskbar icon drawer and clicking the Rainmeter icon. Click on the Refresh all button and locate your Parallax Effect folder. Open your newly created Background and Parallax folders and Load your .ini files by double-clicking them. Finally, check Click through in the Manage Rainmeter window for both .ini files and your parallax effect should be complete.


The above script allows for a subtle effect. If you’d like to make the effect more dramatic, lower the number parameters present in the Parallax.ini file by 10 or 20 (do not repeat numbers or include numbers below 0).


Remember to save your .ini file and refresh your skin to enact the effect.

Don’t Stick With Static

Sticking to static, non-moving wallpapers is fine for some. For others, Rainmeter is a blessing. The program appears to be limitless. Sleek Rainmeter skins The Best Rainmeter Skins for a Minimalist Desktop Want to customize Windows with Rainmeter? Here are the best Rainmeter skins for a clean and minimalist Windows desktop. Read More are created daily to suit whatever desktop style you desire. The Rainmeter parallax effect is just one of the most recent innovation in Rainmeter skins, and its use is only confined to your imagination.

A special thanks to Reddit user /u/thefawxyone, whose creative work provided the backbones for the folder layout and .ini files used. If you’d like to install my Bart parallax background, download the .rmskin here.

What other effects would you like to see or use with Rainmeter? Let us know in the comments below!

Related topics: Rainmeter, Wallpaper, Windows Customization.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Alessandro De Virgilis
    May 9, 2017 at 2:47 pm

    it does not work for me: when I double click Background.ini, it displays only a black background that covers all the screen. also, what name should i give to the file file in Parallax folder? is Parallax.ini ok?