Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void behindPolka(int xRadius, int yRadius, int xPeriod, int yPeriod, int[] color, int gradiant) | |
{ | |
double i = 1.0; | |
Pixel[][] pixels = getPixels2D(); | |
//int[][] colors = {{10,0,0},{0,10,0},{0,0,10}}; | |
double xDistance = 0; | |
double yDistance = 0; | |
//int finalEdgeRow = 0; | |
int finalEdgeCol = -1; | |
boolean paintable = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int LEFT_BUTTON =2; //Input pin for the left button | |
const int MIDDLE_BUTTON =3; //Input pin for the middle button | |
const int RIGHT_BUTTON =4; //Input pin for the right button | |
const int X_AXIS =0; //Joystick x-axis analog pin | |
const int Y_AXIS =1; //Joystick y-axis analog pin | |
int val; //For holding mapped pot value | |
int readJoystick(int axis) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int LED=9; | |
const int BUTTON1=1; | |
const int BUTTON2=2; | |
const String CODE = "ABABA"; | |
String Rec = ""; | |
int Time = millis(); | |
int Delta = 0; | |
int Time1 = 0; |