Tag: html5
Introducing BackTick, a.k.a. StanScript ; ) a Clojure/Scala/Lisp/Python-inspired JavaScript superset
Why `backtick`? Because (almost) all of the syntax extensions were introduced using only one character. Yep, you got it – the backtick ; ) Supported features: – Python-like operator overloading (by defining __iadd__, __eq__, etc. methods in the object or prototype), e.g.: x.__iadd__ = function(y) { this.data += y; }; […]
TextTexture – rendering text in WebGL
Always wanted to paint nice text in WebGL but didn’t know how? 😉 Today’s your lucky day as I’m releasing this little snippet for creating “text textures” and then drawing them using custom shaders. The trick behind efficient usage of texture space here is using three separate color channels to […]
WebPong – instant WebSockets-based multiplayer mode
WebPong was supposed to be a multiplayer clone of Pong running on WebSockets and WebGL/BabylonJS library for 3D graphics. As it turned out that pong in real 3D (6 degrees of freedom) isn’t really that much fun, I decided to convert it into a simple ball shooting game with a […]
Recent Comments