Skip to content

Instantly share code, notes, and snippets.

View jarnoh's full-sized avatar

jarnoh jarnoh

View GitHub Profile
@jarnoh
jarnoh / screen.csd
Last active February 8, 2025 14:00
showing static 8 color screen for copper showdown
copper_showdown_version = "0.0.1"
copper_showdown_api_version = "0.0.1"
num_bitplanes = 3
code = '''
local num_frames=1
function copperframe(n)
local frame = CopperListBuilder:new()
local name = string.format("frame_%d", n)
print(name)
@jarnoh
jarnoh / gist:40b386cd24b1fd411041a82342deb1a0
Created February 1, 2025 11:26
eight raster bars for copper showdown
local num_frames = 128
local copper_lists_builder = CopperListsBuilder.new()
for frame=1,num_frames do
local colors = {}
function rasterbar(y)
for i=0,15 do
colors[y+i]=i*0x111