www.meshly.com
   Login | Connect to Meshly
Most Popular Channels: fallonplanningblog
Channel View: all » hackszine » javascript - (all posts tagged javascript)
2
votes
1
channel vote

"Here's an experiment in keepings things small and confined to one Javascript file."

Submitted by stella - 2008-04-08 20:09:20
Channels - hackszine
Tags - gaming javascript supermario

Comment on this post

3
votes
1
channel vote

A cool way to draw generic triangles efficiently in Javascript. This will let you create 3D objects that can be rotated or scaled. Still a bit slow, but hey, it's Javascript.

"The trick is to take advantage of the beveled edges on a div border to make right triangles. By setting the div height and width to 0px, then setting 3 borders to transparent and 1 border to an opaque color, you can make a right triangle of various sizes by adjusting the border widths.

Using some fancy geometry, you can then cut any type of triangle into a series of successively smaller right triangles. Now, in real life, the right triangles would get infinitely small (and numerous), but in the digital world, they only need to get as small as a single pixel before we don't care anymore."

Submitted by jason - 2007-07-20 08:30:17
Channels - blogcadre hackszine webdev
Tags - hack javascript 3d modeling geometry

Comment on this post

4
votes
2
channel votes

"This weekend I took a big step in upping the ante for JavaScript as a Language. At some point last Friday evening I started coding and didn't stop until sometime mid-Monday. The result is a good-enough browser/DOM environment, written in JavaScript, that runs on top of Rhino; capable of running jQuery, Prototype, and MochiKit (at the very least).
The implications of this are phenomenal, and I'm not the only one who's interested in it what this could mean for server-side JS development."

Submitted by stella - 2007-07-10 17:33:28
Channels - hackszine
Tags - tech programming code javascript application jquery mochikit

1 comment

2
votes
2
channel votes

A somewhat crazy hack to optimize page load time by combining CSS and Javascript into a single file.

This makes use of some css and js parser peculiarities in common browsers.

Submitted by jason - 2007-05-06 18:23:24
Channels - hackszine
Tags - web hack css javascript

Comment on this post

2
votes
1
channel vote

PlotKit is a javascript library that uses Canvas and SVG to dynamically generate chart, line and pie charts to display in an HTML DIV.

Submitted by jason - 2007-04-18 20:51:34
Channels - hackszine
Tags - javascript chart plot graphing

Comment on this post

2
votes
1
channel vote

A simple utility that will consume data from a published Google Spreadsheet, and generate graphs using the javascript PlotKit library.

It also generates all the javascript code for you, so you can cut and paste the output as a widget into your own site.

Submitted by jason - 2007-04-18 20:54:18
Channels - hackszine
Tags - google javascript chart ajax spreadsheet plotkit graph

Comment on this post



Recent Tags

Track This Page

Place the contents of this page in your site. Just set your desired title, height, and width. Then, copy and paste the embed code into your layout.

Title:
Width:
Height:

Copy & Paste Embed Code:

preview