some 'party'cles using the #pico8 palette in #swiftplaygrounds
zoomer from an old #pico8 #tweetcart (sorry, lost the originator) ... converted to #swiftui #playgrounds and #8bit pixels ... with a little bit of screen shake in the #wormhole
Moved onto #swift #playgrounds. The #TimelineView animation makes it simple to update a view, canvas or in this case an image bitmap array (that scales). As always like to recreate @guerragames #pico8 #tweetcarts to get started.
Attempted #retrogame remake of #Amiga #SWIV first stage in javascript might be fun. Game-map from hol.abime.net/2240/gamemap. No sprite sheet out there so working through splitting it all out in #aseprite.
Researched for weeks for a simple #javascript animated #GIF encoder. Nothing but old complicated libraries, and then found github.com/mattdesl/gifenc. Simple to use and understand. Thanks @mattdesl.
Into the deep end with @shiffman's* vectors for my #kickoff2 #LearnToCode. Next up is his seek algorithms, and some football tactics. *caveat: not using #p5js just plain #javascript #html5 #canvas but great videos to keep going back to.
... javascript ... canvas ... pixel data array ... pico8 inspired ... back to 1980s basic via @codinghorror tweet ... lunar lander ... now teaching me forty years on
bbrisbobb retweeted
Making a palette-maker doodad because the new #pico8 colors are exciting to me
Colorgate, colorgeddon! Colormanjaro!!
(Next thing it needs is a way to reorder your selected colors, then a way to export the palette as a string of Lua code)
g,r={},rnd
function m(s)
s.x+=s.d
s.y+=s.e
if(s.x<0 or s.x>127) s.d*=-1
if(s.y<0 or s.y>127) s.e*=-1
end
for i=1,20 do
b={}
b.x=0
b.y=0
b.c=r(15)b.d=r(3)b.e=r(3)
add(g,b)
end
function _draw()
foreach(g,m)
for i=32,1,-5 do
for b in all(g) do
circfill(b.x,b.y,i,b.c+i/9)
end end end
Somewhat Lemon Jelly like ... #Lemonjelly.ky album cover. And @FredDeakin is back I have just discovered.
Sorry, just had to reproduce teapaw.org/lexaloffle/status/1004…. Learnt how to return more than one thing from a #JS function and finished TIMER function. #CodeNewbie
Increased to 1000 balls. Actually got to 19 cubed or 6.8k balls before browser dropped below 30 fps on a 6 year old Mac mini. (And for anyone here, this is all calculated in an imageData array then drawn to #2dcanvas).
For the last few weeks have been watching, rewinding and pausing over and over @pomle Meth Meth Method's 3D wireframe lesson at youtube.com/watch?v=_x3feYZN…






