3 ms·
Javascript and reloading a web page are the obvious parallel. There are one liners for changing colors, fonts, etc. A tiny bit of canvas setup and you can dra
by jannotti 9y ago
Javascript and reloading a web page are the obvious parallel. There are one liners for changing colors, fonts, etc. A tiny bit of canvas setup and you can draw freely. I think sound is slightly more complicated, but not much. It might make sense to make a little js library (maybe call it basic.js, though I'm not actually recommending copying the BASIC language) and then write some blog post that start with loading it, and then fooling around in the JS console.
- neogodless 9y agoIn a way, this is a big part of how I transitioned from someone who knew how to program a Commodore 64 to someone that could help people build web pages (and eventually be able to do other things good, too.) I had a Geocities web site, and I loaded it down with JavaScript widgets that I wrote. Things to flip images around. Things to annoy you with alerts. Then I spent countless hours in MS Paint making images out of bitmaps which I then wired up using JavaScript to emulate an Iron-man watch (complete with glowing and a very bad battery!) There was "no risk." It was fun and exploratory. It didn't achieve anything useful for anyone else, but I learned and got confident in learning (and experimenting.) When someone actually hired me and threw ColdFusion at me, it was wildly different... from QBasic and from JavaScript... but I just experimented and figured out how to do CRUDDY things.