Stacks Explorer •♥• Source Code

Note: Work on this project is still gradually ongoing. These files will be updated a couple of times through 2019 until we reach the final version.

Last update: 2018-12-26

I did the meat-and-potatoes work in Processing Java, and I've done my best to keep the code reasonably organized and decently commented. However, keep in mind I'm basically flying by the seat of my pants here. If you're planning on adapting this for your own project, some familiarity with the overrides required to use HashSets with objects in Java will be helpful.

And finally, if you find yourself asking "wait but... why?": The Documentation may help to shed some light on that whole can of worms.

Pinging Archive.org for the full set of tags & titles takes over an hour. In order to expedite iteration, I've included a boolean TF in makeEntriesArray.pde, where you can instead load this CSV. (NOTE! If you make changes to the TSV, you'll need to re-run the web-pinging loop and make a new one of these.)

NOTE: This and all of the other .pde files need to be in the standard directory setup for Processing programs (If you're not familiar with this, the .zip file above has everything in its right place). This is a small hub which loads the TSV file, and calls the next four functions.

Photo Files

A small utility for renaming files sequentially into Stack-Bank-Row-Depth. Works either with incrementing bank or row (see commented-out code). Note: This script uses the Apache Commons' "FileUtils" package.

This script takes a folder of photos, and stitches them together into the full-stack composites. This is set up for the Prelinger Library's particular stack configuration (ie: 12 banks x 10 rows + some weird oversize stuff), so you'll need to modify it. Also requires Apache's "FileUtils."