This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DUNKY DONEY YY Y Y Y Y | |
''' | |
This will make a lil animation where a piece of | |
text will animate one axis of a variable font | |
"across" a piece of text | |
''' | |
# parameters to change | |
# -------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
"TIMING GAME" annotated code | |
(by Benjamin Santiago for Bryan Rendon) | |
DES3090 --> FALL 2023 | |
Hey y y y! So this is code from Fall 2022 (last year), and it was | |
for someone doing a similar idea to show them how the code | |
would be structured since it is kinda, radically different | |
than what we've done in class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
BENJAMIN SANTIAGO --> Will Rogers | |
(with some amended ChatGPT stuff) | |
So this will go to specifically, dezgo, and then, find a specific | |
textbox, click the "run" button, wait for the image, and then save | |
the image. | |
You'd have to modify this to do something like.. | |
* choose (randomly?) from an array of prompts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#importz | |
#----------------------------------------------------------------- | |
import array | |
import math | |
import audiobusio | |
import board | |
from adafruit_circuitplayground.express import cpx | |
#----------------------------------------------------------------- | |
#functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#paragraph_1 | |
{ | |
color: #FF0000; | |
} | |
#paragraph_2 | |
{ | |
color: #0000FF; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="styles.css"> | |
</head> | |
<body> | |
<div id = "everything"> | |
<h1> | |
Welcome! | |
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drawing = False | |
def setup(): | |
size(500,500) | |
background(240) | |
stroke(220,0, 220) | |
strokeWeight(20) | |
def draw(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
image is from here: | |
https://www.pngkit.com/bigpic/u2w7q8t4r5u2w7w7/ | |
Not sure the attribution | |
""" | |
size(500, 500) | |
#our PNG is transparent so this matters | |
background(255,0,255) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# our imports | |
# ------------------------------------------------------> | |
import usb_hid | |
""" | |
note that, this HID functionality is unique to the | |
circuit python express (there is an older "non-express" | |
version that is discontinued). Because of this we import | |
cpx, rather than cp. | |
""" | |
from adafruit_circuitplayground.express import cpx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def setup(): | |
background(255) | |
size(500,500) | |
def draw(): | |
pass | |
def keyReleased(): | |
if key == 'a' or key == 'A': | |
background(255,0,255) |
NewerOlder