Skip to content

madve2/cacophony-of-pixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cacophony of Pixels

A nice screensaver that fills your screen with pixelated junk in an animated fashion! (Made for the #screensaverjam, 2016.)

Check it out in your browser! Press F11 for the best experience (and try to ignore your CPU fans crying for help)!

How do I actually use it as a screensaver?

  1. Download cacophony-of-pixels-dist.zip from the project's Itch page
  2. Right-click cacophony-of-pixels.scr, select Install
  3. Windows' Screen Saver dialog should open, letting you test the thing and actually set it as a screensaver (I wouldn't recommend that though).

I didn't implement the mini-preview that would be displayed inside that nice CRT monitor image, sorry.

How do I "build" this from source?

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/madve2/cacophony-of-pixels
# Go into the repository
cd cacophony-of-pixels
# Install dependencies - you'll need them both globally and locally
# (I know, I know, I should manage my dependencies properly...)
npm install -g electron-prebuilt
npm install electron-prebuilt
# Run the screensaver!
electron main.js /s

To make it work as a screensaver:

  1. Create a new folder, called dist or something.
  2. Copy everything from %APPDATA%\npm\node_modules\electron-prebuilt\dist to it.
  3. Create a folder called app in the resources folder, and copy the app files (both .js files, index.html, package.json) to it.
  4. Rename electron.exe to cacophony-of-pixels.scr, to turn it into a screensaver.
  5. Done!

There are some nice electron packagers if you'd prefer that over these manual steps, but I didn't have the time to experiment with those before the jam.

About

A nice screensaver that fills your screen with pixelated junk in an animated fashion! (Made for the #screensaverjam, 2016.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published