Skip to content

Instantly share code, notes, and snippets.

View LeMasters's full-sized avatar

Garrison LeMasters LeMasters

View GitHub Profile
@LeMasters
LeMasters / pokemon_news.txt
Created January 14, 2021 15:06
After you add HTML, style this text for two different audiences. To achieve different "looks", try to focus exclusively on your CSS.
Via Polygon.com
14 January 2021
Finally, some good news: New Pokémon Snap will be released for Nintendo Switch on April 30, Nintendo and The Pokémon Company announced Thursday. The sequel to the original Pokémon Snap, released in 1999 for Nintendo 64, will send players to the Lental region, where they’ll snap photos of Pokémon in the wild.
Players will work with Professor Mirror and his assistant Rita “on an ecological survey to photograph Lental Pokémon thriving in nature,” according to a news release. Players will tour the Lental islands in an on-rails vehicle known as the Neo-One through various paths. Lental Pokémon will be attracted to “Fluffruit,” an edible item which will assuredly make photographing creatures in the wild much easier.
As with the original Pokémon Snap, players’ photos of Pokémon will be judged on their pose, how large creatures appear in photos, whether they’re facing the camera lens, and where they fall in frame. Pokémon behavior which change over time in New Pokémon Snap, and play
@LeMasters
LeMasters / unstyled_wiener.html
Created January 13, 2021 13:42
Wiener Philharmoniker 2021 Programme (Unstyled)
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>2021 Programme</title>
</head>
<body>
<main>
** See what you can do by putting this into HTML markup using the HTML elements we've covered so far. Remember: There is not always a "right answer". Sometimes (sometimes!) it comes down to judgment. The trick is to ask: Is my choice a meaningful one, and have I made that choice consistently?
From the New York Times
Siobhan Roberts
Dec 28, 2020
The Lasting Lessons of John Conway's Game of Life.
@LeMasters
LeMasters / NYTimes Parker-Pope excerpt
Created January 4, 2021 14:35
IMS222 winter exercise material
For a Healthier 2021, Keep the Best Habits of a Very Bad Year
Our 7-Day Well Challenge will show you how to build on the healthy habits you learned during pandemic life.
By Tara Parker-Pope
January 1, 2021
The New York Times
Here’s a better way to start the new year: Skip the traditional January resolutions and make time for some New Year’s reflection instead.
Take a moment to look back on the past 365 days of your life. Years from now, when you talk about 2020, what stories will you tell? Will it be clapping for health care workers every night at 7 p.m.? Or perhaps it will be a memory from the months spent mostly at home with family members — or the pandemic “bubbles” you formed that helped friendships grow stronger. Maybe you will tell the story of losing someone you loved or remember finding strength and resilience you didn’t know you had.
@LeMasters
LeMasters / brix.p8
Created October 21, 2020 17:17
pico8 bricks
pico-8 cartridge // http://www.pico-8.com
version 29
__lua__
-- lemasters, bricks
function _init()
clock=1
clockspeed=2
ballz={}
ball={
@LeMasters
LeMasters / genart.txt
Created September 7, 2020 16:37
genart one
--pico8 genart one
-- sept2020
function _init()
cls(1)
counter=0
updatescreen=true
layers=3
colqty = 6
rowqty = 6
cls(1)
colqty=32
colwidth = 128/colqty
rowheight=11
for x=0,colqty-1 do
myx = x * colwidth
myy = 5 * rowheight
myx2 = myx+colwidth-1
-- let's make a single square
-- but fill it with another
cls(1)
start=30
finish=10
centerx=50
centery=50
// it is often good to see things in other languages
// as it helps explain idiosyncrasy
// here is a "count from 1 to 10" loop in JavaScript
// note we count from 1 to 11, but don't actually do 11.
for (var i=1; i<11; i++) {
console.log(i);
}
-- by nesting our for loops, we can have one loop
-- 'oversee' the repeated execution of another loop.
-- remember: code is "run" in the same way that we
-- figure out the "order of operations" in algebra:
-- by starting on the inside, and moving towards the outside.
-- create 4 rows by 6 columns of circles.
-- (numbers are different to help you see difference).
-- circle radius = 5
-- so circle diameter = (2r) = 10