MinaCoding2026_Print
Printing With Rubber Bands
Updated
•2 min read
RelicsFromBands
For MinaCoding2026 Day 9 & 13: #Magic & #Print ,RelicsFromBands coded in Python outputs spelllike instructions for the user to translate into rubberbandrelics with rubberbands. Turning this existing code into a portal of exponential symbol making.
Instruction
EXTERIOR Neutral Interior Long LEFT
YELLOW Long UpNeutral DOUBLE
SINGLE UpExteriorPinnerChoiceYELLOW
PIN PinConsistent PinConsistent Left INTERIOR
PINNERCHOICE Yellow BrownBrown Up TRIPLETRIPLE
Images
Code
'''
List of instructions in the Rubberband Text to for generative colorscape building for the relics
Green
Yellow
Red
Black
Purple
Orange
Brown
Neutral
Up
Down
Left
Right
Pin
PinConsistent
PinSwitch
Diagonal
PinnerChoice
Short
Long
Medium
Interior
Exterior
Double
Single
Triple
IF no color in line, then follow instructions and choose your own color scheme
if not alot of instructions, be flexible with pin and band execution
read line and flow as such
'''
import random
with open("RubberBand.txt", "r") as adj: #open and read the text file
IWT = adj.read() #give the file a variable name
IWTUsed = list(map(str,IWT.split())) #individuals words
def Relics():
print(random.choice(IWTUsed).upper() + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed).upper())
print(random.choice(IWTUsed).upper() + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed) + random.choice(IWTUsed) + " " + random.choice(IWTUsed).upper())
print(random.choice(IWTUsed).upper() + " " + random.choice(IWTUsed) + random.choice(IWTUsed) + "" + random.choice(IWTUsed) + random.choice(IWTUsed).upper())
print(random.choice(IWTUsed).upper() + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed).upper())
print(random.choice(IWTUsed).upper() + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed)*2 + " " + random.choice(IWTUsed) + " " + random.choice(IWTUsed).upper()*2)
Relics()



