Resources
Search
Archives
Categories
Meta
Author Archives: keith
Recent Events and my non-reaction
I’ve been using Flash since 1999 or so. It’s responsible for my career and any small bit of fame and fortune I might have. Most of the people I count as friends have come from the Flash community. Flash will … Continue reading
Posted in General, Technology
18 Comments
Sublime Text 2 HTML Template and Build System
I’ve been doing a lot of HTML/JS development lately. My editor of choice these days is Sublime Text 2. A really great editor with loads of features and nearly infinite customization ability. But, as I’m doing a lot of learning … Continue reading
Posted in JavaScript
13 Comments
Design Tactics – Select Single
The other day I was coding a particular UI implementation and realized that I had coded the same thing in multiple languages multiple times. I knew exactly how I was going to go about it and did what I usually … Continue reading
Posted in General, Technology
14 Comments
MinimalCompsJS 0.1 Release
Well, it’s high time I got these out there so people can use them. See them in action: http://www.bit-101.com/MinimalCompsJS/release/0.1/ I’ve combined all the files into one and minified it so you only need to include a single file, plus jQuery. … Continue reading
Posted in Components, JavaScript
3 Comments
MinimalCompsJS Preview #2
Just uploaded an update to the MinimalCompsJS project. The demo looks pretty much the same as the last one, but the components are completely refactored. Now, each component creates its own individual canvas element and adds it to a div … Continue reading
Posted in Components, JavaScript
1 Comment
MinimalCompsJS Preview
A while back, when I first started playing with HTML5 and Canvas, I considered the idea of making a port of MinimalComps. I immediately rejected the idea as silly. I mean, if you’re in HTML, you already have UI controls, … Continue reading
Posted in Components, JavaScript
4 Comments
Linescapes Iteration 9
A different gety function: [php lang=”JavaScript”]$(function() { var canvas, linescape, hills; canvas = $(“#canvas”).get(0); linescape = new LineScape(canvas); linescape.xres = 1; linescape.zres = 0.5; hills = []; for(var i = 0; i < 100; i += 1) { hills[i] = … Continue reading
Posted in Uncategorized
3 Comments
Linescapes Iteration 8
Create a LineScape object in LineScape08.js: [php lang=”JavaScript”]function LineScape(canvas) { this.context = canvas.getContext(“2d”); this.width = canvas.width; this.height = canvas.height; this.xcenter = this.width / 2; this.ycenter = this.height / 2; this.zcenter = 500; this.z = 5000; this.fl = 350; this.xres = … Continue reading
Posted in JavaScript
4 Comments
Linescapes Iteration 7
Put back in a bit of randomness. A more interesting form. Draw progressively so screen doesn’t hang. [php lang=”JavaScript”]$(function() { var canvas, context, width, height, x, x1, x2, y, z = 5000, fl = 350, xres = 2, zres = … Continue reading
Posted in JavaScript
5 Comments
Linescapes Iteration 6
Add a gety(x, z) function and a more interesting form. [php lang=”JavaScript”]$(function() { var canvas, context, width, height, x, x1, x2, y, z = 5000, fl = 350, xres = 5, zres = 5, xcenter, ycenter, zcenter, scale; canvas = … Continue reading
Posted in JavaScript
Leave a comment