Post Ad18M3UokbGmoco6YS by jtruk@mastodon.social
 (DIR) More posts by jtruk@mastodon.social
 (DIR) Post #Ad18LxAOHdMhBXChsm by jtruk@mastodon.social
       2023-12-11T11:21:10Z
       
       0 likes, 0 repeats
       
       First stab at #LovebyteTCC expert day 1 [Fire effect]This will be pretty sub-optimum, but it's a good start.- I'm relying on it running from the code window, so that the bottom line is seeded- I've made a design choice to plot y=calc(y+2) rather than y=calc(y+1) for bigger fire with a purple flue.- Unsure if the free loop from BDR is worthwhile#TIC80 / ~103 bytes---TIC=btn BDR=function(y)for x=0,239 do p=0 for d=0,8 do p=p+pix(x-1+d//3,y-1+d%3)end pix(x,y-2,p/9)pix(x,135,p)end end
       
 (DIR) Post #Ad18Ly9ibcQCFjtgTQ by jtruk@mastodon.social
       2023-12-12T18:27:49Z
       
       1 likes, 0 repeats
       
       #LovebyteTCC Day 2 [expert: Metaballs]I sacrificed quite a few bytes for some random dithering. Movement mirrored, but metaballs nonetheless!218 bytes (~163 with Pakettic)#TIC80 #demoscene #creativeCoding ---M=math D=function(x,y)return 99/((x-99*M.sin(T*.0002))^2+(y-99+99*M.sin(T*.0003))^2)^.5 end T=0TIC=btn BDR=function(y)for x=0,239 do i,f=math.modf(D(x,y)+D(y,x))pix(x,y,M.min(i+(f>M.random()and 1or 0),15))end T=1+T end
       
 (DIR) Post #Ad18LyzTVBp0qG7196 by jtruk@mastodon.social
       2023-12-12T19:19:15Z
       
       1 likes, 0 repeats
       
       Theme variation: solarballs!#LovebyteTCC
       
 (DIR) Post #Ad18LzriFXCtYTUKga by jtruk@mastodon.social
       2023-12-14T18:48:55Z
       
       1 likes, 1 repeats
       
       Catching up on my #LovebyteTCC Day 3 expert: "Connect the Dots"I'm not in the mood for code golfing, so this is - I dunno - code figure skating?Unoptimised, but 251b packed, at least! Might come back to this one at some 3D point 🙂
       
 (DIR) Post #Ad18M3UokbGmoco6YS by jtruk@mastodon.social
       2023-12-14T18:49:57Z
       
       0 likes, 0 repeats
       
       #TIC80u=0n=function(e,x,s)local p=3*s+3.5return 120+e/p*120,68+x/p*120,p end v=function(d,r,a,y,q,i,z)t,g,k=n(d,r,a)c,m,j=n(y,q,i)line(t,g,c,m,z)end f=function(d,r,a,y,q,i,z)h=d-y b=r-q l=a-i o=(l^2+b^2+h^2)^.3zz=.5>o and v(d,r,a,y,q,i,z)end TIC=load'cls()for z=1,128 do d=math.sin(z+u/200)r=math.sin(z*.7+u/240)a=math.sin(z*.8+u/180)for w=1,128 do y=math.sin(w+u/200)q=math.sin(w*.7+u/240)i=math.sin(w*.8+u/180)f(d,r,a,y,q,i,z)end t,g,k=n(d,r,a)circ(t,g,2/k,12)end u=1+u'