|
128b(ASIC)ytes : "graph" by JoG (Syntax Error / ZeroDesign)
128b(ASIC)ytes : "graph" by JoG (Syntax Error / ZeroDesign)
platform : yo momma (made with AGK)
credz: Syntax Error [stuff], ZeroDesign [other stuff]
edit : 2023 03 28 :
This one is doesnt sit in a loader yet i think , the idea is simple : 128bytes of basic :
(AGK:)
g#=1
do
f#=f#+g#/99
for x=0 to 99
c=50+sin(x)*x*f#
drawbox(x,c,x+1,c+x,-1,1,1,9,1)
next
if abs(f#)>1 then g#=g#*-1
sync()
loop
AGK/bitesized$ wc -c main.agc
128 main.agc
::as size as code goes : this is TRUE 128b , no packing, ofcourse in AGK you get newlines for delimiters et al which mainly leads to one command per line, its not excessively suited to sizecoding or 10liners (but maybe all the more reason to try one heheh)
any basic would apply im sure we'll get more examples up there should be already 4 in the loaders. Not sure what 128 bytes of c64 basic can do but we intend to have a 10liner section after seeing seeing Gunnars 10liner Basic Contest, some extra info here. Just to show examples of what counts for galmeetsdemo b/c most people are a bit autist about how rulesets need to be and im afraid we cant do that since we are chaos and today het GATste gat ter wereld is SERIOUSLY attacking our head again.
the css on this page would probably fit into one of the 128/256/521b css2php entries ... but thats for another castle not today we have had quite the energy expenditure just warding off GAT today
yea i wish that were an act or a joke too
but its Janes Ondergrond in gatland , doomed to die in enemy territory
we have nothing to prove - if you think we need a sceneId or csdb login send us one. We dont GIT and we dont Forge, if you're interested enough to send a mail its likely you get the sourcescript back (xept for the games or any kind of future crApp that might happen on commercial level which probably wont happen since the futures dead)
|
btw:
g=1;f=0
function TIC()
f=f+g/99
for x=0,99 do
c=50+math.sin(x)*x*f
rect(x,c,x+1,c+x,c)
end
if math.abs(f)>1 then g=-g*-1;end
end
gives wc -C 300 bytes for the tic cartridge
g=1;f=0
function TIC()
f=f+g/99
for x=0,99 do
c=50+math.sin(x)*x*f
rect(x,c,x+1,c+x,c)
end
if math.abs(f)>1 then g=-g;end
end
also gives 300 , not 299 ... not sure how this goes ? we thought the size of the cartridge counts, and the editor says 125/65536 (bytes ?) used so ...
but thats okay we wont be pursuing much TIC xept the one demo (i mean it got started, it has to finish, right?)
euh no it looks different
so ... :p r(nah just curious, one should do what feels right and works best - ... if thats AGK and ZIG (we hope) , asm64 and php then so be it (javascript IS used but mostly for processing data, not visuals - we prefer js-less CSS if possible b/c we are weird)
o wait, now
g=1;f=0
function TIC()
f=f+g/99
for x=0,99 do
c=50+math.sin(x)*x*f
rect(x,c,x+1,c+x,c)
end
if math.abs(f)>1 then g=-g;end
end
$ wc -c bla.tic
204 bla.tic
???
o dear
>run
>SyntaxError: parse error (line 4)
at [anon] (input:4) internal
at [anon] (duk_js_compiler.c:475)
internal
>ReferenceError: identifier 'math'
undefined
at [anon] (duk_js_var.c:1236)
internal
at TIC (eval:9) preventsyield
we get why js is more interesting in this kind of environment since a chrome or ff update wont screw your stuff and you dont need 20k permissions from the user but
brackets, euhmm...
nope
// script: js
g=1;f=0;function TIC(){f=f+g/99;for(x=0;x<99;x++){c=50+Math.sin(x)*x*f;rect(x,c,x+1,c+x,c);}if(Math.abs(f)>1){g=-g;}}
wc -c blajs.tic
211 blajs.tic
youd think so huh, with the brackets semicolons and no do end if end structures ...
dont know WASM but from what i seen its not opcodes heh ... and no one is probably interested in ticAsm programminb by opcode EA >> rect()
SO then ... nothing to prove (gotta be careful these pukkers always think youre trying to prove something or better them or whatever it is mundanes and normal people lose their head on)
just curious - meaning we wont bother using js instead of lua to fill the 65535 bytes of tic demo (but well try to fill it at least - supposedly the music and gfx(bitmaps) are stored separately within the same file -- - and THEN ... no idea b/c this place might get to us any time at any time)
guess it would be like 2 bytes or something shorter if it auto-recognized instead of needing a header that states the script but its all conventions anyway, after all : you dont get "rect" for one byte anywhere
anyway
any hoooooooo .... look at the time , b-tch you did it again m n-r ... but no loss, we though switching to JS for the tic demo b/c it would cram more code but from the looks of it it wont make all that much difference and
its lightweight afternoon tea coding after all, not demo-hooliganism (lol ...)
ho wee, yes, thats all great for people who like to talk about it, and thats good too, we often put on videos in the background by people who like to talk about it while we do stuff b/c we just wanna dostuff ... and js is like bleh b/c its case sensitive (i wonder who came up with the notion that math.sin is error but Math.sin is not (dont think thats the same as names on a filesystem really) and here for instance it lets f and g be used without let and var, now maybe thats no longer needed we arent pros in 50 languages after all and syntax is a waste of brainspace (actually for THAT very reason, they change it and what not, while lookie here : 40 years later C64 code is STILL the same opcodes ... what gives ? i bet that goes for a Falcon too) so pretty sure that would throw some kind of error in a browser but here it doesnt but its STILL javascript and im not sure if it can use objects the way it does (bc we dont like objects and we call tables arrays too , its pure heresy) or what is all that "struct" and what not ... and AGK HAS deftype (for instance) which can assemble complex datastructures, arrays included any way you want but you have to denominate string $ , int -nothing- and float # b/c if you add 0.01 to f it will stay one while if you add 0.01 to f# it becomes 1.01 (but it wont throw an error if you add 0.01 to f) and so and such you see ?
we'll leave that to people who like to talk about it, its kinda nice to see a professer in the arts of code do 10liner BASIC contests !!!! GANBARRE ... actually 120 bytes is .... 3lines of c64 basic (yes?) so its probably possible to do something in that because pO (cant do the petcode) P(petcode-O) 1024 (it is , right ? 0400 ? we are not a calculator either, numbers are a waste of brainspace) = a pix() command in c64 basic if you dont mind pixels the size of ataripaddles .. AND SUCH AND SO
you should go with what works for you and
we think its more enjoyable to just do stuff b/c we like the program and digging out the machine but we couldnt care less for winning or competing but that TOO, as long as you dont shove it up someone elses ass - you should go with what works for you huuu
here we stand again, hour over time while we should, the legs are starting to give out after a few weeks now and i wonder why this is on this page (not that its in the way ... its not even #offtopic HAH!-)
mmm, maybe we try to cram that css into 256b of php (128 probably wont work including tags and style) and put it up as an example of php2css , right ... oyasumi, we have to stick closer to the rythm and probably stay away a bit longer from "the world" b/c it seems to try and crawl up our ass even here while we avoid it - very unhealthy
tshcuuuus
Jog 2023
we use GOTO statements as if it were assembler ... without shame