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
mainBall = Circle(180, 200, 10, fill='red') | |
l = Label('No hit', 200, 20) | |
padLeft = Rect(5, 180, 5, 40, fill='black') | |
padRight = Rect(390, 180, 5, 40, fill='black') | |
mainBall.speedX = 6 | |
mainBall.speedY = 5 | |
mainBall.currentSpeedX = mainBall.speedX |
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
import os | |
import sys | |
import subprocess | |
def Execute( command, cwd=None ): | |
result = 0 | |
output = "" | |
print( "Run command [" + command + "]" ) |
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
// | |
// I420Frame.h | |
// | |
// Created by Joel Burke on 2/7/17. | |
// Copyright © 2017 Kittehface Software. All rights reserved. | |
// | |
// Requires GoogleWebRTC CocoaPod | |
// Requires libyuv-iOS CocoaPod | |
#ifndef I420Frame_h |
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
// TODO: Your own package name here | |
//package com.kittehface; | |
// Some work based on http://stackoverflow.com/a/12702836 by rics (http://stackoverflow.com/users/21047/rics) | |
import android.graphics.Bitmap; | |
import android.graphics.Matrix; | |
// TODO: project should include org.webrtc:google-webrtc from Google | |
import org.webrtc.VideoFrame; |
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
// TODO: Your own package name here | |
//package com.kittehface; | |
// Some work based on http://stackoverflow.com/a/12702836 by rics (http://stackoverflow.com/users/21047/rics) | |
import android.graphics.Bitmap; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
// TODO: project should include io.pristine:libjingle from Maven |