(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
d3.csv("data/gates_money.csv", function(data) { | |
custom_bubble_chart.init(data); | |
custom_bubble_chart.toggle_view('all'); | |
}); | |
$(document).ready(function() { | |
$('#view_selection a').click(function() { | |
var view_type = $(this).attr('id'); | |
$('#view_selection a').removeClass('active'); | |
$(this).toggleClass('active'); |
Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.
Reset PS3 controller by inserting paperclip into pinhole near L2 button.
Connect PS3 controller to Mac with USB cable.
Enable Bluetooth.
void drawPath(float lat1, float lon1, float lat2, float lon2) { | |
stroke(0); | |
strokeWeight(5); | |
noFill(); | |
lat1 *= PI/180; | |
lon1 *= PI/180; | |
lat2 *= PI/180; | |
lon2 *= PI/180; | |