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
// | |
// ViewController.swift | |
// Swift5_LoginSystem | |
// | |
// Created by Matt M on 8/14/19. | |
// Copyright © 2019 MM. All rights reserved. | |
// Step one - get text fields to display programattically | |
// with styling and formatting positioned on the screen | |
// Step two - add a button |
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 javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.WindowConstants; | |
import java.awt.Dimension; | |
import java.awt.Color; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.Point; | |
import java.awt.event.MouseListener; |
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
String[] lines; | |
String name = "player"; | |
void setup(){ | |
size(700,400); | |
read(); |
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
double[] phila = {2.85,6.02,4.74,3.94,5.21,3.34,3.06,4.11,8.35}; | |
double[] seattle = {8.12,2.16,2.44,5.69,0.12,0.63,0.05,0.2,0.98}; | |
double[] sandiego = {2.28,2.04,2.26,0.75,0.20,0.09,0.03,0.09,0.21}; | |
void setup(){ | |
size(600,400); | |
} |
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
var pixelArt =[{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:0,b:0},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:80,g:10,b:5},{r:80,g:10,b:5},{r:80,g:10,b:5},{r:235,g:220,b:0},{r:235,g:220,b:0},{r:5,g:0,b:0},{r:235,g:220,b:0},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:255,g:255,b:255},{r:80,g:10,b:5},{r:235,g:220,b:0},{r:80,g:10,b:5},{r:235,g:220,b:0}, |
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
//Usually you will require both swing and awt packages | |
// even if you are working with just swings. | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
class gui { | |
public static void main(String args[]) { | |
//Creating the Frame |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Slide</title> | |
</head> | |
<body style="background-color:#000000; margin: 0px;"> |
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
var msg = "Values: "; | |
let rSlider, gSlider, bSlider; | |
var rd = 0; | |
var grn = 0; | |
var blu = 0; | |
var col = 1; | |
var dir = 5; | |
var colArr = []; | |
var colObj = {r:255,g:255,b:255}; | |
var gridSize = 16; |
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
int[] pr ={255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,80,80,80,235,235,5,235,255,255,255,255,255,255,255,255,80,235,80,235,235,235,5,235,235,235,255,255,255,255,255,255,80,235,80,80,235,235,235,5,235,235,235,255,255,255,255,255,255,80,235,235,235,235,5,5,5,5,255,255,255,255,255,255,255,255,235,235,235,235,235,235,255,255,255,255,255,255,255,255,255,255,255,0,255,255,0,255,255,255,255,255,255,255,255,255,255,255,255,0,255,255,0,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,255,0,0,255,0,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,0,0,0,255,255,0,0,0,255,255,255,255,255,255,255,100,100,100,255,255,255,255,100,100,100,255,255,255,255,255,100,100,100,100,255,255,255,255,100,100,100,100,255,255}; | |
int[] pg ={255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255, |
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
int[] pr ={255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,80,80,80,235,235,5,235,255,255,255,255,255,255,255,255,80,235,80,235,235,235,5,235,235,235,255,255,255,255,255,255,80,235,80,80,235,235,235,5,235,235,235,255,255,255,255,255,255,80,235,235,235,235,5,5,5,5,255,255,255,255,255,255,255,255,235,235,235,235,235,235,255,255,255,255,255,255,255,255,255,255,255,0,255,255,0,255,255,255,255,255,255,255,255,255,255,255,255,0,255,255,0,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,255,0,0,255,0,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,0,0,0,255,255,0,0,0,255,255,255,255,255,255,255,100,100,100,255,255,255,255,100,100,100,255,255,255,255,255,100,100,100,100,255,255,255,255,100,100,100,100,255,255}; | |
int[] pg ={255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255, |
NewerOlder