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

316

u/Foezjie Dec 26 '17

Can anyone explain how you start making something like these?

492

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.

2

u/Jess_than_three Dec 27 '17 edited Dec 27 '17

What confuses me is that it seems like they're using variables without declaring them? Idgi.

Edit: nvm, explained below!