Quantcast
Channel: zReference
Browsing index pages (19 articles)
↧

PhotoDa Image Generator

I created an IOS app that creates images from existing things in your camera. check it out: https://itunes.apple.com/app/id1291121692  

View Article


ES6 Mode Mouse Event Manager

let ui = { ['draw-poly-mousedown'](e) { console.log('draw poly mouse down'); }, ['draw-poly-mouseup'](e) { console.log('draw poly mouse up'); }, execMode(e) { let fn = ui[`${ui.mode}-${e.type}`]; if...

View Article


XOR Color Invert

var color = 0xFFFF00; function toHex(color) { return '#' + ('000000' + color.toString(16)).substr(-6); } function onClick() { color ^= 0xFFFFFF; document.body.style.background = toHex(color); }...

View Article

Quick Alphabet Array

var alphabet = 'abcdefghijklmnopqrstuvwxyz'.split(''); console.log('this is the letter b...', alphabet[1]); console.log(alphabet); The above will output: this is the letter b... b ["a", "b", "c", "d",...

View Article

Bring any DOM Element to Top

myEl.parentNode.appendChild(myEl); Bring myEl to the top within its `parentNode`.

View Article


Snippets

For fun I’m gonna port some old actionsnippet.com posts to JavaScript over the next few days… maybe ES5 and 6…

View Article

Sketchfab

Sketchfab is extremely cool:

View Article

Playing Around with KaTex

… See the Pen KaTex Superformula by Zevan Rosser (@ZevanRosser) on CodePen.

View Article


JavaScript Framework Thoughts Part 3

Today I had a chance to write the first proof of concept for the templating idea mentioned in part 2 of this post series. Really didn’t expect to get it working so quick but here it is: 1 2 3 4 5 6 7 8...

View Article


Yes

View Article

Where Will This Go?

I hope this goes somewhere cool: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 var __; __ = function(){ return __; }; __.__ = __;   __.__().__.__()().__(__).__(__,__,__);   __(__(__.__)().__.__.__.__.__);   __. __....

View Article

jQuery.grab and Beyond – JavaScript Framework Thoughts Part 2

Templating So, Backbone uses Underscore templates, which I never really used much because I’m such a huge Mustache fan. Anyway, like I said in the last post I’ve been using Ractive for templating a...

View Article

Placehold.it

This is really cool… www.placehold.it is a site that generates filler images for you. Just link to it in your css or image tags, set the size of the image and you’re good to go: <img...

View Article


ZTXT 3.2 (coming soon)

I’ve been working on the ZTXT code editor for over two years now and its really come a long way. See the below link for how to install and take a look at this youtube video demoing the prerelease:...

View Article

The Truth About HTML5

This book is awesome : The Truth About HTML5. I read it in two sittings and I spent a good deal of the time just cracking up. I agree with almost everything he talks about in the book. I’ve been...

View Article


Raphael Tutorials

I recored two new tutorials about the raphaeljs library. Have a look: and part two: Digg

View Article

HTML5 Canvas Video Tutorial

Yesterday I recorded this short intermediate level video tutorial: Digg

View Article


Graphics Examples

Recently I’ve been adding to a collection of html5 graphics examples. They are updated regularly so check back: check them out… Digg

View Article

Mustache Twitter

mustache.js is really nice. Here is a quick demo of mustache being used in conjunction with the twitter search api: demo Here is the code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...

View Article
Browsing index pages (19 articles)


Latest Images