EditSafely

Create a Binary Color GIF

Generates an animated GIF of random pixels in exactly two colours, black and white or any pair you pick.

Runs on your device, nothing uploaded

Width (px)
Height (px)

Output

Generating…

This runs entirely on your device

Create a Binary Color GIF is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. Nothing is requested from a server, so the result you see has never existed anywhere but here.

  • No server involved
  • Generated on your device
  • Works offline once loaded
  • Nothing stored or logged

How to use Create a Binary Color GIF

  1. 1. Pick your two colours. Set First colour and Second colour. Black and white gives a classic one-bit noise pattern, while any other pair makes a two-tone flicker in your own palette.
  2. 2. Set the mix and pixel size. Share of first colour decides how much of each frame uses the first colour, from 0% to 100%. Pixel size groups pixels into square blocks for a chunkier, retro look.
  3. 3. Choose size, frames and timing. Enter the Width and Height, the Frame count and the Frame delay. Each frame gets a new random arrangement, so more frames means a longer loop before it repeats.
  4. 4. Download binary-color.gif. The GIF uses exactly the two colours you chose. Set a Random seed other than 0 to reproduce the same pattern later; leave it at 0 for a new one every run.

When to use Create a Binary Color GIF

Create a Binary Color GIF fills every frame with randomly placed pixels in only two colours and animates them, giving a crisp two-tone noise loop. Because the palette is exactly two colours, the result stays sharp and the file stays small.

  • Making one-bit style backgrounds. Pixel art and retro designs often limit themselves to two colours, and a flickering two-tone field makes a fitting animated backdrop for them.
  • Creating a twinkling starfield. Set a dark second colour and a low share of a bright first colour, and the sparse pixels twinkle across frames like stars.
  • Testing displays and dithering. A high-contrast random pattern exposes ghosting, scaling blur and colour bleeding on screens and in image pipelines.
  • Producing brand-coloured noise. Instead of grey static, a loop of noise in two brand colours works as an on-theme loading or transition graphic.

Examples

Black and white flicker

Input

200×200 px, 50% black, 4 px pixels

Output

binary-color.gif: 10 frames of random black and white blocks

Sparse red stars

Input

First colour red, second navy, 5% red

Output

binary-color.gif: scattered twinkling red dots

About the Create a Binary Color GIF tool

Create a Binary Color GIF runs as plain JavaScript in your browser tab, with no server behind it. Generates an animated GIF of random pixels in exactly two colours, black and white or any pair you pick. Whatever you put in stays on your device from start to finish.

The tool is part of EditSafely's GIF Tools section, 181 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.

You can shape the output with 9 settings, including Width (px), Height (px), First colour and Second colour, and the result refreshes the moment you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. 2 worked examples further down the page show exactly what the tool produces for real inputs.

That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.

Frequently asked questions

Does Create a Binary Color GIF cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How do I get a different result?

Change a setting. The result is worked out from the settings alone, so the same settings always give the same result, and a change shows up immediately.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I save the output?

Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.

Related tools

All GIF Tools →