<picture> <source srcset=”examples/images/extralarge.jpg” media=”(min-width: 1000px)”> <source srcset=”examples/images/large.jpg” media=”(min-width: 800px)”> <source srcset=”examples/images/medium.jpg”> <img srcset=”examples/images/medium.jpg” alt=”A giant stone face at The Bayon temple in Angkor Thom, Cambodia”> </picture> The picture element and associated features are W3C standard HTML features that allow web developers to deliver an appropriate image to every user depending on a variety of conditions …
Category Archives: Elsewhere
Pop – Extensible iOS and OS X animation library
POPSpringAnimation *anim = [POPSpringAnimation animation]; … [layer pop_addAnimation:anim forKey:@”myKey”]; Pop is an extensible animation engine for iOS and OS X. In addition to basic static animations, it supports spring and decay dynamic animations, making it useful for building realistic, physics-based interactions. It’s a mature and well-tested framework that drives all the animations and transitions in …
Continue reading “Pop – Extensible iOS and OS X animation library”
Google Self-Driving Car on City Streets
Jaywalking pedestrians. Cars lurching out of hidden driveways. Double-parked delivery trucks blocking your lane and your view. At a busy time of day, a typical city street can leave even experienced drivers sweaty-palmed and irritable. That’s why over the last year we’ve shifted the focus of the Google self-driving car project onto mastering city street …
A Map of Baseball Nation
Baseball fans may not list which team they favor on the census, but millions of them do make their preferences public on Facebook. Using aggregated data provided by the company, we were able to create an unprecedented look at the geography of baseball fandom Built using Google Maps. Also saw some GeoJSON fly by over …
Your mind is a muscle
Untrusted – a user javascript adventure game
Untrusted —or— the Continuing Adventures of Dr. Eval is an exciting Meta-Javascript Adventure Game wherein you guide the dashing, steadfast Dr. Eval through a mysterious MACHINE CONTINUUM, wherein, using only his trusty computer and the TURING-COMPLETE power of Javascript, he must literally ALTER HIS REALITY in order to find his freedom! You must literally edit …
Continue reading “Untrusted – a user javascript adventure game”
Exploring Google Maps for iOS
The Google Maps SDK for iOS is a powerful framework that makes it easy to add Google Maps to your app and take advantage of other useful Google services, such as geocoding, direction finding, and Google Street View. These free videos from Code School help you get up to speed quickly. You can watch all …
Getting modular with CSS animations
Neat little example showing how to combine CSS animations: Check out this Pen! Beware with animationend though, Firefox still has its quirks with it (in my experience it will fire most of the time, but sometimes it won’t). A video walking through the code is available Getting modular with CSS animations →