(*) no setup
Every device has a browser.
(*) useful apis that just work across platforms
including canvas, webgl, audio api, camera access, gps, etc
Think about what I’ve have to do in C++ to get a cross platform canvas2d like API. I’d probably have to build Skia which is like a gazillion lines of code. I’d have to figure out what bazillion options to pass it etc, watch it compile for 10-15-20 mins and hope no obscure errors pop out. Read more…
What a stupid scripting language. I haven’t used it but it’s a scripting language and scripting languages suck. It’s not useful for anything other than form validation. Who cares. I’ll never use it except maybe to make a form not double submit on my personal website.
Stage #2: Time T = 0:
Stage #3: Time T = +3-5 years:
Stage #4: Time T = +5 years:
I’m going to do some C/C++ programming again. Ugh! WFT this stuff no longer compiles! Why doesn’t this project load in my IDE anymore. They must have changed the format. DAMMIT why doesn’t libglfobar link? Ugh! What? I’ve got to write 200 lines of meta-templating code just to make generic callbacks? Fuck! Why is this so tedious! Oh you want to check it out? Sorry I don’t have access to a Mac to compile it for you. Sorry. Fuck I hate C/C++!
I wrote an article for webglfundamentals.org called less code more fun. WebGL is a verbose language and I wanted to explain at least one way write some functions to make it less verbose. After that I wrote an article about drawing multiple things. The combination of those 2 lead me to think I really should turn those concepts into their own library. The result is TWGL.js.
All I friggen want to do is find out of a git managed project is clean, as in are their any modified files that need to be checked in or not. You’d think this would be easy. I can of course shell to git and parse stdout but here’s hoping there’s a library with more features in case I need them.
I’m going to guess there’s already a zillion blog posts like this but …. here’s mine if only to record my thoughts so you can laugh at me in 3-5 years for dumb predictions.
A couple of weeks ago I go to see the Oculus DK3 Crescent Bay demo. Very very impressive. If you’ve used a DK2 (2014) it was mostly PS2 quality graphics. It still felt awesome to see things in stereoscopic 3D but Crescent Bay is somewhere at PS3 or PS4 level. On top of that it’s 90fps and has skewing meaning if your head moves left/right, up/down, back/forward that’s reflected in the simulation whereas DK2 (and Gear VR, Google Cardboard), currently only support head rotation. It makes a huge difference. Read more…
As a C/C++ programmer I rarely looked for libraries unless it was larger project. For example, I needed to read a BMP file or a TGA file it’s like literally less than 100 lines of code. Look up the format, write a little code, done. On the other hand if I needed to load a JPG file or PNG file those formats are far more complicated and so I’d end up finding a library.