Skip to content

Instantly share code, notes, and snippets.

View Trimad's full-sized avatar
😡
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

Scream Skellygore Trimad

😡
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
View GitHub Profile
@Trimad
Trimad / Itinerant.pde
Created December 8, 2017 04:04
Lorenz Ball
//Lorenz Attractor Constants
int La = 10;
int Lb = 28;
float Lc = 8/3.0;
//My variables
int vScale = 2;
//int phases = 10;
float dt = .005;
import java.util.ArrayList;
import java.util.Scanner;
public class KattisA {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
import java.util.Scanner;
public class KattisC {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
/* * * * * * * * *
* Tristan Madden
* 10/05/2017
* * * * * * * * */
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
;Tristan Madden
;10/24/2017
INCLUDE Irvine32.inc
.data
background Dword ?
foreground Dword ?
spam1 BYTE "CONGRATULATIONS, YOU'RE A WINNER!"
;Tristan Madden
;10/17/2017
.386
.model flat, stdcall
.stack 4096
ExitProcess proto, dwExitCode:dword
.data
;Tristan Madden
;10/07/2017
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
let angle = 0;
let w = 55;
let magicAngle;
let maxD;
//let img;
let orthoBound = 900;
let counter = 0;
function setup() {
createCanvas(1080, 1080, WEBGL);
magicAngle = atan(1 / sqrt(2));
/* * * * * * *
Main File
Tristan Madden
1/2/2018
* * * * * * * */
//ffmpeg -r 60 -f image2 -s 3840x2160 -i frame-%04d.tif -c:v libx264 -preset slow -profile:v high -crf 9 -coder 1 -pix_fmt yuv420p -movflags +faststart -g 30 -bf 2 -c:a aac -b:a 384k -profile:a aac_low test4.mp4
import ch.bildspur.postfx.builder.*;
import ch.bildspur.postfx.pass.*;
/* * * * * * * * * * *
Convert_Any_To_Base_10
Tristan Madden
1/16/2018
* * * * * * * * * * * */
var raw;
var temp;
var stored = [];
var answer;