Skip to content

Instantly share code, notes, and snippets.

View jeonghopark's full-sized avatar

JeongHo Park jeonghopark

View GitHub Profile
# ===== Video Tracker Core Library =====
# Komplexer Implementierungsteil - Datei zum Hochladen auf Gist
import matplotlib
matplotlib.use('Agg')
import os
import sys
import re
import numpy as np
@jeonghopark
jeonghopark / sublime-text-macos-context-menu.md
Last active December 30, 2018 13:17 — forked from idleberg/sublime-text-macos-context-menu.md
“Open in Sublime Text” in macOS context-menu

Open in Sublime Text

  • Open Automator
  • Create a new Qucik Action
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n "$@"
  • Set “Pass input” to as arguments
  • Save as Open in Sublime Text
@jeonghopark
jeonghopark / vv_extrudeFont.cpp
Last active September 16, 2018 19:42 — forked from vvzen/vv_extrudeFont.cpp
oF 0.10
#include "vv_extrudeFont.h"
//--------------------------------------------------------------
// Original credits go to jefftimeisten, see https://forum.openframeworks.cc/t/extrude-text-into-3d/6938
//
// This method returns a vector containing the vbo meshes required
// to render the front, back and sides of each character in the given string.
//
// @example:
//
@jeonghopark
jeonghopark / custom.css
Last active December 4, 2017 16:09
Dark theme for Jupyter Notebook/iPython 4
/*
Dark theme for Jupyter Notebook/iPython 4
Author: Theodore Pak
Repo at: https://github.com/powerpak/jupyter-dark-theme
Inspired by and adapted from the following:
Base16 for iPython Notebook (https://github.com/nsonnad/base16-ipython-notebook)
Base16 Twilight Dark, David Hart (http://hart-dev.com)
CodeMirror template adapted for IPython Notebook by Nikhil Sonnad (https://github.com/nsonnad/base16-ipython-notebook)
CodeMirror template by Jan T. Scott (https://github.com/idleberg/base16-chrome-devtools)
@jeonghopark
jeonghopark / data_folder.pde
Created November 27, 2017 18:37
open sketch, data Folder Processing
void setup() {
size(200, 200);
}
void draw() {
// draw() must be present for mousePressed() to work
}
void mousePressed() {
launch(dataPath(""));
@jeonghopark
jeonghopark / video_buffer.pde
Created November 27, 2017 18:35
Video Buffer Processing
import processing.video.*;
Capture cam;
PImage[] buffer;
int frameNum = 60;
int writeIndex = 0, readIndex = 1;
void setup() {
size(640, 240);
@jeonghopark
jeonghopark / defaultSetting.pde
Created March 28, 2017 15:30
Minim Sound FFT Default Setting
import ddf.minim.analysis.*;
import ddf.minim.*;
Minim minim;
AudioPlayer jingle;
FFT fftLin;
float spectrumScale = 20;
PFont font;
@jeonghopark
jeonghopark / index.html
Last active February 5, 2017 18:39
threejs default code
<!DOCTYPE html>
<html>
<head>
<title>___title___</title>
<meta charset="UTF-8">
<meta name="keywords" content="HTML, CSS, JavaScript, Three.js, THREE.js, Three.js, WebGLRenderer">
<meta name="author" content="JeongHo Park, JH Park, jeonghopark">
<style>
import peasy.*;
PeasyCam camera;
ArrayList<PVector> meshPos = new ArrayList();
float xStep = 20;
float yStep = 20;
int meshNUM = 20;
import peasy.*;
PeasyCam cam;
float size = 20;
void setup() {
size(960, 540, P3D);
cam = new PeasyCam(this, 150);