Skip to content

Instantly share code, notes, and snippets.

Avatar

James Ballard jamesballard

View GitHub Profile
@jamesballard
jamesballard / ball.cs
Created Feb 21, 2016
Unity Bouncing Ball
View ball.cs
using UnityEngine;
using System.Collections;
public class Ball : MonoBehaviour {
private Paddle paddle;
private Vector3 paddleToBallVector;
private bool hasStarted = false;
View Multi Variable Visualization
library(ggplot2)
?mpg
head(mpg)
str(mpg)
# Identify a scatter point
attach(mtcars)
plot(mpg, wt)
identify(x = mpg, y = wt, n = 3, label = row.names(mtcars))
detach(mtcars)