Skip to content

Instantly share code, notes, and snippets.

View KrabCode's full-sized avatar
🔮
discovering Tooll3

Jakub Rak KrabCode

🔮
discovering Tooll3
  • Prague, Czech Republic
  • 06:44 (UTC +01:00)
View GitHub Profile
@KrabCode
KrabCode / gist:44a7f5631e92543f3042f498e2e88ce6
Created February 21, 2017 09:24
Gödel, Escher, Bach v kostce
bool x
while(x || !x)
{
x = !x
}
@KrabCode
KrabCode / TreeGenCore
Created March 8, 2017 15:08
Tree generator core
BRANCH DEFINITION
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fractal
@KrabCode
KrabCode / MainApp.java
Created August 13, 2017 17:39
Text slideshow animator
import com.hamoid.VideoExport;
import processing.core.PApplet;
import processing.core.PFont;
public class MainApp extends PApplet{
public static void main(String[] args)
{
PApplet.main("MainApp", args);
}
import processing.core.PApplet;
import java.util.ArrayList;
//import com.hamoid.VideoExport;
public class MainApp extends PApplet{
public static void main(String[] args)
@KrabCode
KrabCode / MainApp.java
Created September 25, 2017 08:25
Caleidoscope
import processing.core.PApplet;
import processing.core.PImage;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import com.hamoid.VideoExport;
public class MainApp extends PApplet{
@KrabCode
KrabCode / Form1.cs
Created October 16, 2017 14:24
Shows a MessageBox with custom message, closes on OK
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Reminder
@KrabCode
KrabCode / MainApp.java
Created November 5, 2017 10:14
Pixelsorts a picture there and back again and records a handy .mp4
import com.hamoid.VideoExport;
import processing.core.PApplet;
import processing.core.PImage;
public class MainApp extends PApplet{
public static void main(String[] args)
{
PApplet.main("MainApp", args);
}
@KrabCode
KrabCode / MainApp.java
Created November 5, 2017 15:56
Wave-pixelsorts a picture, records a handy dandy .mp4
import com.hamoid.VideoExport;
import processing.core.PApplet;
import processing.core.PImage;
import java.util.Arrays;
public class MainApp extends PApplet{
public static void main(String[] args)
{
@KrabCode
KrabCode / MainApp.java
Last active November 6, 2017 09:18
Pixel sorts an image gradually from start to end, then brings the start over to the end and loops it. Records an .mp4 of exactly one loop for your convenience.
import com.hamoid.VideoExport;
import processing.core.PApplet;
import processing.core.PImage;
import java.util.Arrays;
public class MainApp extends PApplet{
public static void main(String[] args)
{
@KrabCode
KrabCode / MainApp.java
Created November 11, 2017 09:50
Pixel sorts an image, animates the sort from top to bottom, records a fancy pantsy .mp4 and it can even take a picture!
import com.hamoid.VideoExport;
import processing.core.PApplet;
import processing.core.PImage;
import java.util.Arrays;
public class MainApp extends PApplet{
public static void main(String[] args)
{