Did you know you can create an array of images?! I just learned this. And the really exciting part is that you can rig up Processing to look through your Sketch folder to get the names of images to load into that array.Read More Processing: How to Load All Images in a Sketch Folder
So I’ve finally reached that point where I’m writing Macros well enough to accomplish simple tasks, but the results are just not pretty to look at. One of my macros returns a list of numbers associated with some data in a worksheet that looks like this: , 1, 2, 3, 4, 5, 7, 10, 11, […]Read More VBA: How to get a Range of Numbers from a List
So Hopper’s Amazing Decipherer Script 1.0 was about 472 lines because it included ELSE IF clauses for every letter in the alphabet. HADS 2.0 cuts it down to 77 lines because arrays, as it turns out, are incredibly useful when paired with loops. Making a Rotated Alphabet Deciphering a Caesar cipher requires that the alphabet […]Read More AHK: Visualizing ELSE/IF with Arrays
Arrays are a damn godsend. More specifically, they’re an easy way to deal with large lists. Why is this useful you ask? Imagine you want to run the same code on multiple items. The items could be numbers, letters, words, full sentences—anything. By putting those things in a list, or an array, you can loop […]Read More AHK: What is an Array?