This file contains 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
# ------------------------------------------------------------- | |
# | |
# This uses a for loop to loop 4 times. | |
# it has a variable that adds 400 to itself every | |
# time through the loop. | |
# | |
# | |
# ------------------------------------------------------------- | |
# Library imports |
This file contains 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
from pyglet import app | |
from pyglet import clock | |
from pyglet import graphics | |
from pyglet import gl | |
from pyglet import text | |
from pyglet.window import Window | |
from pyglet.window import mouse | |
from pyglet.window import key | |
from math import sin, cos, pi |
This file contains 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
// Configuration: V5 Clawbot (Drivetrain 2-motor, No Gyro) | |
// Claw Motor in Port 3 | |
// Arm Motor in Port 8 | |
// | |
// ---------------------------------------------------------------------------- | |
// Include the V5 Library | |
#include "vex.h" | |
// Allows for easier use of the VEX Library |
This file contains 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
from pyglet import app | |
from pyglet.window import Window | |
from pyglet.window import key | |
from pyglet import graphics | |
from pyglet import image | |
window = Window(600, 600) | |
@window.event |
This file contains 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
#include "vex.h" | |
using namespace vex; | |
int z = rand(); | |
// Begin project code | |
int main() { | |
Brain.Screen.newLine(); |
This file contains 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
from pyglet import app | |
from pyglet import clock | |
from pyglet import graphics | |
from pyglet import gl | |
from pyglet import text | |
from pyglet.window import Window | |
from pyglet.window import mouse | |
from pyglet.window import key | |
from math import sin, cos, pi |
This file contains 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
from pyglet import app | |
from pyglet import clock | |
from pyglet import graphics | |
from pyglet import gl | |
from pyglet import text | |
from pyglet.window import Window | |
from pyglet.window import mouse | |
from pyglet.window import key | |
from math import sin, cos, pi |
This file contains 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
from pyglet import app | |
from pyglet import gl | |
from pyglet import clock | |
from pyglet.window import Window | |
from pyglet.window import key | |
from pyglet import graphics | |
from pyglet import image | |
from pyglet import text | |
from random import randint | |
import sys |
This file contains 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
from pyglet import app | |
from pyglet import gl | |
from pyglet import clock | |
from pyglet.window import Window | |
from pyglet.window import key | |
from pyglet import graphics | |
from pyglet import image | |
from pyglet import text | |
from random import randint | |
import sys |
This file contains 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
from pyglet import app | |
from pyglet import gl | |
from pyglet import clock | |
from pyglet.window import Window | |
from pyglet.window import key | |
from pyglet import graphics | |
from pyglet import image | |
from pyglet import text | |
from random import randint | |
import sys |