ScratchData LogoScratchData
Back to Java_Programmer's profile

Tater Tot NPR

JAJava_Programmer•Created May 1, 2018
Tater Tot NPR
101
64
863 views
View on Scratch

Instructions

TURN ON TURBO MODE. Press space to show/hide variables (restart the project if needed). Use this to run it faster: https://sulfurous.aau.at/#220012152 Variable Guide: imageNum (1-3) - The image to display. minDist (3-30) - Minimum distance between points (tater tot size). maxAttempts (5-30) - Affects how dense the tater tot packing is (the higher, the longer it takes). brightnessOffset (128-256) - Affects the overall brightness.

Description

Saw a tater tot mosaic of Napoleon Dynamite and got inspired. That's about it. (If you haven't seen Napoleon Dynamite by the way, you're missing out. Arguably one of the greatest movies of all time.) I really ought to be working on stuff right now, but you know, I'm feeling a bit lazy and this is my kind of relaxation. ;) In case you're wondering, this was made by: 1. Using Bridson's Algorithm to pack tater tots closely together. I tried to find a rotated rectangle packing algorithm online, but it seems no one has tried something that complicated yet, so I'm sticking with random-facing tots. 2. Taking the image colors and converting them to perceived brightness via the formula 0.299*R + 0.587*G + 0.114*B, then subtracting that by some amount and converting that to Scratch's sprite brightness and stamping the tater tot sprite.

Project Details

Project ID220012152
CreatedMay 1, 2018
Last ModifiedMay 28, 2019
SharedMay 2, 2018
Visibilityvisible
CommentsAllowed