PopMech spent our Saturday using our DIY T-shirt cannon to launch free shirts into the crowd at Maker Faire New York. While there, we also rounded up some of the coolest projects on the grounds, including a robot drum corps and the soggiest swing set we've ever seen. By Andrew Moseman
1 of 7
GuitaR2D2
Musician and gonzo inventor Ben Simon spent five weeks holed up in South Carolina building Guitar2D2. Simon's Frankenstein gitbox is wired with amps covered by the boldly colored circular panels. One amplifies his voice, which is captured by the microphone extending up from the top of the instruments. Guitar2D2 also has a 1980s-style drum machine that Simon can set to keep his beat and a Yamaha synth he can play through the buttons across the front. "); }); /* * THESE CALLBACKS ARE THE OTHER EVENTS, TO BE POSSIBLY USED FOR OTHER SITES */ /* Hide - Unhide Most Stories in last slide */ fb.callback.viewMain(function(){ LoadDefaultMainPage(); $("#content_sec_mostpopularstories").hide(); }) fb.callback.viewFinalFrame(function(){ LoadDefaultMainPage(); $("#content_sec_mostpopularstories").show(); }); /* Init Hover Event on button top, bottom */ fb.callback.init(function(){ //Image arrow left: $(".fb_frame_image img:first") //Image arrow right: $(".fb_frame_image img:eq(1)") $("#fb_button_top_next").hover( function(){ $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); $("#fb_button_top_back").hover( function(){ $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); /* Hide - Unhide Tool Tip */ $("#fb_button_bot_next").hover( function(){ $(".fb_backnext_text_area").show(); $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_backnext_text_area").hide(); $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); $("#fb_button_bot_back").hover( function(){ var currentPage = fb._engine.variables.currentImageIndex; if(currentPage != 1) $(".fb_backnext_text_area").show(); $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_backnext_text_area").hide(); $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); }); /* Next, Back button click event */ function moveTop(){ //Get position of Ad image var position = $("#flipbookAd").position(); //Get position of next button var currentBtnNextPosition = $("#fb_button_top_next").position(); var currentBtnBackPosition = $("#fb_button_top_back").position(); if(currentBtnNextPosition.top > 680 || currentBtnBackPosition.top > 680) window.scrollTo(position.left, position.top); } fb.callback.next(function(){ LoadDefaultMainPage(); //Check if content is too long. moveTop(); }); fb.callback.back(function(){ LoadDefaultMainPage(); //Check if content is too long. moveTop(); }); /*Event For Paging Function in Thumbnails Page*/ function ShowPaging(currentSlide){ var lastSlide = fb._engine.variables.totalThumbPages; var firstSlide = 1; //Default style for paging number $("#content-sec_fb_frame_viewthumb_nav_inner_container a").removeClass("highlite"); $("#content-sec_fb_frame_viewthumb_nav_inner_container a").each(function(){ if(parseInt($(this).text()) == currentSlide) $(this).addClass("defaultSlide"); else $(this).removeClass("defaultSlide"); }); //Default style for button paging if(currentSlide == firstSlide) { //Load style for button on Thumbnail page $("#content-sec_fb_frame_viewthumb_nav_inner_bookend_left").removeClass("off").addClass("inactive"); $("#content-sec_fb_frame_viewthumb_nav_inner_bookend_right").removeClass("inactive").addClass("off"); } if(currentSlide > firstSlide && currentSlide span:first").text()); var result = (pageIndex / 12); var tempResult = result.toString(); var tempResultSplit = tempResult.split('.'); if(tempResultSplit.length > 1) pageIndex = parseInt(tempResultSplit[0]) + 1 else pageIndex = parseInt(tempResultSplit[0]); $("#currentPage").empty(); $("#currentPage").text(pageIndex.toString()); } function LoadDefaultMainPage(){ //Default style for button on main page var imgIndex = fb._engine.variables.currentImageIndex; if(imgIndex == 1) { $("#fb_button_top_back").removeClass("off").addClass("inactive"); $("#fb_button_bot_back").removeClass("off").addClass("inactive"); } else { $("#fb_button_top_back").removeClass("inactive").addClass("off"); $("#fb_button_bot_back").removeClass("inactive").addClass("off"); } //Hide - Unhide sponsor logo var slideType = fb._engine.variables.imageLoop[fb._engine.variables.currentImageIndex -1].slidetype; if($(".fb_frame_image_sponsored_author").css("display") == "block" && slideType != "Video") $(".frame_sponsor").css("display", "block"); else $(".frame_sponsor").css("display", "none"); if($(".partnerLogo").attr("class") != "partnerLogo") $(".fb_frame_side_right").css("margin-top", "30px"); } function InitEventBtnThumbsClick(){ var framePosition = 0; var lastFrame = fb._engine.variables.totalThumbPages; var firstFrame = 1; var nextFrame = 0; var previousFrame =0; $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_left').unbind('click'); $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_right').unbind('click'); $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_left').click(function() { framePosition = fb._engine.variables.currentThumbPage; if(framePosition > 1) { fb.click.scrollThumbPageLeft(); } }); $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_right').click(function() { framePosition = fb._engine.variables.currentThumbPage; if(framePosition
Related News
Read More Read More Read More Read Moreheidi klum aca degrassi walt disney cherry cherry josh groban
No comments:
Post a Comment