Skip to content

Instantly share code, notes, and snippets.

$(document).ready(function(){
$("#player").hide();
$('#questionForm').submit(function(ev) {
ev.preventDefault(); // to stop the form from submitting
// Patterns defined using the RegEx syntax JS uses (a subset of PCRE)
var patterns = [
[/.*personal information.*/, 'personal info'],
[/.*data.*/, 'data'],
$(document).ready(function(){
$("#player").hide();
$('#questionForm').submit(function(ev) {
ev.preventDefault(); // to stop the form from submitting
// Patterns defined using the RegEx syntax JS uses (a subset of PCRE)
var patterns = [
[/.*personal information.*/, 'personal info'],
[/.*data.*/, 'data'],
[/.*(risk)|(threat).*security.*/, 'security threat'],
{
"about":{
"name": "Kellee Massey",
"address": "1665 Cornelia Street 2L, Ridgwood, NY 11385",
"website": "https://www.kelleemassey.com/",
"social":{
"linkedIn": "https://www.linkedin.com/in/kelleem/",
"gitHub": "https://github.com/Kelsin33"
}
@Kelsin33
Kelsin33 / rectangles
Created October 4, 2017 04:55
restructuring code for ICM
var value = 0;
var angle = 0;
function setup() {
createCanvas(400, 400);
angleMode(DEGREES);
rectMode(CENTER);
//ellipseMode(CENTER);
//noStroke();
}
@Kelsin33
Kelsin33 / icm1.js
Created September 13, 2017 13:51
ICM week one
function setup() {
createCanvas(600, 600);
background(204);
}
function draw(){
//hair
stroke(0,0,0);
fill(0,0,0);
ellipse(275,270,120,120);