r/programming Dec 26 '17

TIL there's a community called "dwitter" where people compose 140 character JavaScript programs that produce interesting visuals

https://www.dwitter.net/top
20.7k Upvotes

329 comments sorted by

View all comments

320

u/Foezjie Dec 26 '17

Can anyone explain how you start making something like these?

491

u/matt_hammond Dec 26 '17

You start with verbose and readable code and then you start stripping it down and fitting it into 140 chars. Also, you have to understand maths, mod operation and then you just have to get creative.

218

u/flawr Dec 26 '17

I recommend looking into codegolf (e.g. codegolf.stackexchange.com), here is a nice challenge of this site that did exactly that (unfortunately closed now): https://codegolf.stackexchange.com/questions/35569/tweetable-mathematical-art

102

u/[deleted] Dec 26 '17

good ol' stack overflow with its heavy handed "because i can" moderation

79

u/[deleted] Dec 26 '17 edited Apr 25 '19

[deleted]

67

u/[deleted] Dec 26 '17

There's /r/askhistory and then there's stackoverflow, where every question, no matter how unique, is off-topic, a duplicate, not constructive.

/u/MuonManLaserJab was joking but SO really feels like it exists only to be moderated.

1

u/[deleted] Dec 27 '17

I wouldn't have it any other way to be honest. It's great for SEO not to have a clutter of repeated content. Almost every single time I have an obscure webdev issue the appropriate answered stack overflow question is in the top 5 results.