Home Page

September 21st, 2011
Beyond Infinity: The Real-Life TRON Room

Think of "Beyond Infinity" by French artist Serge Salat as a real-life TRON room, complete with "endless layers of space, decked out with cubic shapes, panels of mirrors, shifting lights and music." Click here to see more.

Inspired by the Suzhou Gardens, a masterpiece of Chinese landscape, the three-lined trigram of I Ching is the main pattern that organizes the space of the work.
[via MyModernMet]

Photo Photo Photo Photo Photo Photo Photo

September 21st, 2011
Beyond Infinity: The Real-Life TRON Room

Think of "Beyond Infinity" by French artist Serge Salat as a real-life TRON room, complete with "endless layers of space, decked out with cubic shapes, panels of mirrors, shifting lights and music." Click here to see more.

Inspired by the Suzhou Gardens, a masterpiece of Chinese landscape, the three-lined trigram of I Ching is the main pattern that organizes the space of the work.
[via MyModernMet]

Photo Photo Photo Photo Photo Photo Photo

September 21st, 2011
How to Create a CSS3 3D Text Plugin for jQuery

567-css3-3d-text

In my previous post, we created 3D text in CSS3 using multiple text-shadows. It may have been effective, but generating the effect was a tedious trial-and-error exercise.

We’re going to make life a little easier with a jQuery plugin. It will do the hard work and generate long-winded CSS3 code such as:


text-shadow:
	-1px 1px 0 #ddd,
	-2px 2px 0 #c8c8c8,
	-3px 3px 0 #ccc,
	-4px 4px 0 #b8b8b8,
	-4px 4px 0 #bbb,
	0px 1px 1px rgba(0,0,0,.4),
	0px 2px 2px rgba(0,0,0,.3),
	-1px 3px 3px rgba(0,0,0,.2),
	-1px 5px 5px rgba(0,0,0,.1),
	-2px 8px 8px rgba(0,0,0,.1),
	-2px 13px 13px rgba(0,0,0,.1)
	;
note: Is this wise?

Our jQuery plugin uses JavaScript to apply a CSS3 style. You’d normally avoid doing that since it’s be slower and, without JavaScript, the user won’t see the effect.

However, the 3D is unlikely to be essential and the plugin will save a significant number of development hours. If you still feel dirty, copy the generated text-shadow property from Firebug into your static CSS file.

Head over to the plugin demonstration page to view examples and download the code.

How to Use the Plugin

jQuery and the plugin should be included on your page — ideally just before the closing </body> tag, e.g.


<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="jquery.text3d.js"></script>

To apply a default 3D effect, set a class of “text3d” to any HTML element, e.g.


<p class="text3d">3D Text</p>

Alternatively, you can specify custom 3D effects for any number of elements in JavaScript, e.g.


<script>
$("#custom").text3d({
	depth: 6,
	angle: 135,
	color: "#aaa",
	lighten: -0.1,
	shadowDepth: 30,
	shadowAngle: 45,
	shadowOpacity: 0.2
});
</script>

Where:

  • depth is the number of pixels for the 3D extrusion
  • angle is the 3D extrude angle, i.e. 90 is vertically downward
  • color is the 3D extrusion color
  • lighten is the difference in color between the top and bottom of the extrusion, e.g. -0.1 means the color will darken by 10%
  • shadowDepth is the approximate number of pixels the shadow extends from the text
  • shadowAngle is the angle at which the shadow falls
  • shadowOpacity is the initial opacity between 0 (no shadow) and 1 (dark black). Note that multiple shadows overlay one another so you’ll rarely need a number greater than 0.4.

The jQuery Plugin Code

Our JavaScript template will be familiar to anyone who has written or used a jQuery plugin:


(function($) {
	// jQuery plugin definition
	$.fn.text3d = function(opts) {
		// default configuration
		var config = $.extend({}, {
			depth: 5,
			angle: 100,
			color: "#ddd",
			lighten: -0.15,
			shadowDepth: 10,
			shadowAngle: 80,
			shadowOpacity: 0.3
		}, opts);
		// to radians
		config.angle = config.angle * Math.PI / 180;
		config.shadowAngle = config.shadowAngle * Math.PI / 180;
		// ... main code ...
		// initialization
		this.each(function() {
			TextShadow(this);
		});
		return this;
	};
})(jQuery);

The config object is defined with a set of default properties which can be overridden. angle and shadowAngle assume degrees so these are converted to radians. Each HTML element within the jQuery selector is passed to a TextShadow() function…


// create text shadow
function TextShadow(e) {
	var s = "", i, f, x, y, c;
	// 3D effect
	for (i = 1; i <= config.depth; i++) {
		x = Math.round(Math.cos(config.angle) * i);
		y = Math.round(Math.sin(config.angle) * i);
		c = ColorLuminance(config.color, (i-1)/(config.depth-1)*config.lighten);
		s += x+"px "+y+"px 0 "+c+",";
	}
	// shadow
	for (f = 1, i = 1; f <= config.shadowDepth; i++) {
		f = f+i;
		x = Math.round(Math.cos(config.shadowAngle) * f);
		y = Math.round(Math.sin(config.shadowAngle) * f);
		c = config.shadowOpacity - ((config.shadowOpacity - 0.1) * i/config.shadowDepth);
		s += x+"px "+y+"px "+f+"px rgba(0,0,0,"+c+"),";
	}
	e.style.textShadow = s.substr(0, s.length-1);
}

The function builds a text-shadow string using the defined parameters and applies it to the current element. Note that the 3D extrusion colors are generated using a ColorLuminance() function — refer to How to Calculate Lighter or Darker Hex Colors in JavaScript for more information.

Finally, the following code is included at the end of our plugin file to apply the default 3D effect to all elements with the “text3d” class.


jQuery(function() {
	jQuery(".text3d").text3d();
});

I hope you find it useful. As the demonstration page illustrates, CSS3 transitions can also be adopted to create 3D animations.

If you create any interesting examples, please post your URLs in the comments section below.

September 21st, 2011
Adobe Targets 3D Gaming with Flash Player 11 and AIR 3

Adobe today announced the upcoming launch of Flash Player 11 and AIR 3, promising "console-quality 2D and 3D games" delivered over the Internet to a full range of computers, mobile devices, and other connected appliances.
Dozens of new features in Flash Player 11 and AIR 3 allow developers to deliver a new class of gaming and premium video experiences, as well as sophisticated, data-driven applications with back-end systems integration across devices, including the iPhone and iPad via AIR. AIR native extensions add support for unique device features and native code libraries, empowering developers to freely choose the right mix of Flash, HTML5 and native code to provide powerful user experiences across PCs and devices.
AIR 3 is also bringing improvements to video streaming, offering the ability to stream full frame rate HD video within AIR applications for iOS via H.264 encoding.


Hardware-accelerated rendering of 2D and 3D graphics is said to see a 1,000-fold increase in performance over Flash Player 10.2 and AIR 2, offering animation of millions of objects at 60 frames per second for smooth video performance on computers and connected televisions, with support for mobile devices currently in a pre-release state. Other improvements include new support for content protection, rentals and subscriptions, as well as support for thousands of AIR native extensions to allow developers to increase the functionality of their software.

Public release versions of Flash Player 11 and AIR 3 will debut early next month.


Recent Mac and iOS Blog Stories
Instagram Releases Version 2.0 With Higher Quality and New Filters
LaCie Thunderbolt-Enabled Little Big Disk Available from Apple [Updated x3]
Mophie Releases New External Batteries for iOS Devices
Apple Launches 3G iPad 2 in China
Apple Revealed as Owner of iPodSolar.com

September 21st, 2011
Apple’s iPhone 5 Media Event Reportedly Scheduled for October 4


AllThingsD reports that Apple will be holding its highly-anticipated iPhone 5 media event on October 4th.
While Apple could certainly change its plans anytime, sources said that the October 4 date has been selected by the company to showcase the iPhone 5. Sources added that the plan is now to make the new device available for purchase within a few weeks after the announcement.
According to the report, new Apple CEO Tim Cook should play a prominent role in the event in order to assert himself as the new leader of the company, although it will almost certainly be a team presentation with other executives such as Phil Schiller, Scott Forstall, and Eddy Cue leading portions of the event. It is unclear whether Steve Jobs will make an appearance at the event, with the report suggesting that a decision on whether or not he appears would be a last-minute one based on his health.

MacRumors noted yesterday that Apple is expected to also be introducing minor updates to its iPod line, and had pinpointed the first week in October for that introduction, with availability set for the middle of the month. Apple generally issues invitations to its media events about a week ahead of time, so we can expect official notice of the event to appear sometime around early next week.

Update: The Loop's Jim Dalrymple confirms with a simple "Yep" that October 4th is the date of the event.


Recent Mac and iOS Blog Stories
Instagram Releases Version 2.0 With Higher Quality and New Filters
LaCie Thunderbolt-Enabled Little Big Disk Available from Apple [Updated x3]
Mophie Releases New External Batteries for iOS Devices
Apple Launches 3G iPad 2 in China
Apple Revealed as Owner of iPodSolar.com

September 20th, 2011
The Salary Science Infographic Tells You When to Negotiate for a Raise, Who’s Happiest in Their Jobs, and More [Infographics]

Salary negotiation is tricky business, but this infographic from Salary Tutor offers some insight into the best times for bringing up your request and and other interesting job statistics to remind you that money isn't everything. More »


September 20th, 2011
Ivy Bridge to Support Ultra High Resolution 4096×4096 Screens

Intel offers another bit of hope in our ongoing quest for ultra-high resolution retina displays. The graphics capabilities of their upcoming Ivy Bridge processors will provide support for 4096x4096 pixel displays.


VR-Zone notes that Intel revealed last week that they will be able to support 4K resolutions and process video at that resolution:
Not only can the MFX engine display up to 4096 x 4096 pixels on a single monitor, but it can also handle video processing for 4K QuadHD video as well. Remember when, two years ago, Jen Hsun Huang at Nvidia for the first time encouraged 4K resolution - at that time 3840x2400 or as he called it XHD2, for ultra realistic gaming too, to use the extra pixels to justify the high end card need? Now, what a fate, Intel is making it real on the - integrated graphics platform, of all. Now, can we have back those 16:10 3840x2400 or, better, 4096x2560 monitors?
Ivy Bridge is Intel's next generation processor that also integrates a much improved graphics processing unit (GPU). Generally, high end computers aren't constrained by the capabilities of the integrated graphics processor. MacBook Pros and iMacs tend to integrate more powerful 3rd party GPUs. Slimmer models, however, such as the MacBook Air and Mac mini are dependent on the integrated graphics that Intel provides. So the 2012-era MacBook Airs should be able to support these ultra high resolutions that we've been dreaming about.

OS X Lion has built in support for such displays and it seems Microsoft is also preparing for them.


Recent Mac and iOS Blog Stories
Lion Theme Brings OS X Look-and-Feel to Jailbroken iPhones
Steve Jobs: Apple Almost Went Bankrupt Because It Failed to Innovate
Thunderbolt Display Ship Times Improve to 3-5 Days
Apple's Component Suppliers Showing Strength on iPhone 5 Production Ramp
'iPhone 4s White' in AT&T's System?

September 20th, 2011
World's First Electric TRON Lightcycle

Parker Brothers has created the world's first electric TRON lightcycle, and it features "a 96-volt electric motor, powered by a bunch of lithium-ion battery cells -- the bike is able to hit a top speed over 100mph, and can go for about 100 miles per charge." Video after the break.

Of course, it also features authentic TRON illumination with the flick of a switch. Parker Brothers says they are intent on making the bike street-legal, but it's not designed for heavy duty use.
[via Technabob]

September 19th, 2011
Nintendo Entertainment System

To date, the Nintendo Entertainment System -- released on October 18, 1985 in North America -- has sold a whopping 61.91-million units worldwide, making it the single greatest video game console in history, according to IGN. So, it's no surprise that some of that love has been translated into a real bed by a dedicated fan. For more wins, head on over to HackedIRL.com. Click here to see more. Continue reading for a few WIN captured on video.

Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo

September 19th, 2011
Facebook Wants You To Watch, Listen, Read And Want Stuff, Too [Facebook]

Facebook may have some upcoming changes that'll add Watched, Listened, Read and Want buttons to its social network, according to a rumor from TechCrunch. More »