dweet your heart out
April 14, 2017 12:15 PM Subscribe
Head to dwitter to look at and play with (and even create your own) tiny JavaScript demos. Lots of rad programmatic art: scratchy lines, a colorful random walk, some sort of hypercubic butterfly, pulsing and inverting abstract shapes, etc. There's even interactive stuff, both sights and sounds.
A Chinese system! I know this!
posted by danhon at 12:29 PM on April 14, 2017 [4 favorites]
posted by danhon at 12:29 PM on April 14, 2017 [4 favorites]
That does indeed look like Chinese (or Japanese, the hanzi and kanji character sets are closely related) being used as a single-character variable name. In principle that shouldn't be any less legible than single roman character variable names like a, b, c etc. and actually kinda great since a single ideogram is a lot more semantically loaded than a random letter of the roman alphabet—it'd be like naming a variable "q" vs naming it "dog". But that presumes enough familiarity with the character set to actually quickly parse and distinguish the characters, which I lack so it becomes more of a pattern-matching game and you're right back to unhelpfully terse single-character variable names that way.
But, yeah, ridiculous concision seems to be part of the idea, to keep the code super short. You can find people doing stuff like "tweet jams" on twitter sometimes trying to cram a lot of functionality into 140 characters; this feels like a spiritual outgrowth of that (and more generally of decades of stunty short/obfuscated code playfulness).
posted by cortex at 12:32 PM on April 14, 2017 [1 favorite]
But, yeah, ridiculous concision seems to be part of the idea, to keep the code super short. You can find people doing stuff like "tweet jams" on twitter sometimes trying to cram a lot of functionality into 140 characters; this feels like a spiritual outgrowth of that (and more generally of decades of stunty short/obfuscated code playfulness).
posted by cortex at 12:32 PM on April 14, 2017 [1 favorite]
First thing I thought of: "You look like you just heard from D. Witter". But then, I'm old.
posted by oneswellfoop at 12:35 PM on April 14, 2017
posted by oneswellfoop at 12:35 PM on April 14, 2017
ooo0! the onmousemove=e=> ones are fun
posted by French Fry at 12:50 PM on April 14, 2017
posted by French Fry at 12:50 PM on April 14, 2017
Some of my favorites:
color fractal
pong
snail race
grassy hills
waves
raindrops
segmented numerical display (abuses unicode to store data)
A few of my own that I'm proud of:
animated fractal tree
simple maze generator
soothing plasma rings
posted by umrain at 2:07 PM on April 14, 2017 [3 favorites]
color fractal
pong
snail race
grassy hills
waves
raindrops
segmented numerical display (abuses unicode to store data)
A few of my own that I'm proud of:
animated fractal tree
simple maze generator
soothing plasma rings
posted by umrain at 2:07 PM on April 14, 2017 [3 favorites]
A good list of tricks and hacks to get started writing this kind of bad code
posted by umrain at 2:18 PM on April 14, 2017 [6 favorites]
posted by umrain at 2:18 PM on April 14, 2017 [6 favorites]
> raindrops
Looks like a dweetstorm to me.
posted by waninggibbon at 2:28 PM on April 14, 2017 [1 favorite]
Looks like a dweetstorm to me.
posted by waninggibbon at 2:28 PM on April 14, 2017 [1 favorite]
a=1920 x.fillStyle="#065a8f" x.fillRect(0,0,a,a) x.fillStyle="#9cc754" x.font="1000px Verdana" x.fillText("MetaFilter", a-(t%4)*a, a/2)posted by NMcCoy at 2:37 PM on April 14, 2017 [2 favorites]
« Older The Company Continued | The Moderators Newer »
This thread has been archived and is closed to new comments
Is...is that chinese?
posted by FirstMateKate at 12:25 PM on April 14, 2017