Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jeesunikim
jeesunikim / test.md
Last active November 26, 2019 18:49
Test.md
title category description previewImage theme
Code of Conduct
Code of Conduct
This Code of Conduct lays out a few ground rules for the Stellar community.
/images/community-thumbnail.png
bland

import { PALETTE } from "constants/styles"; import {

Keybase proof

I hereby claim:

  • I am jeesunikim on github.
  • I am jeesunikim (https://keybase.io/jeesunikim) on keybase.
  • I have a public key ASDV5yysdvQUaBs4OnnkwTmItgeRYbXgb5rBQq2HlMTcdQo

To claim this, I am signing this object:

@jeesunikim
jeesunikim / sunflower_seed.pde
Last active January 24, 2019 02:42
Generative Art - Sunflower - Seed
class SunflowerSeed {
PVector position;
float n1 = 1;
float n2 = 1;
float n3 = 1;
float m = 1;
float a = 1;
float b = 1;
float t = 0;
@jeesunikim
jeesunikim / sunflower_petal.pde
Last active March 4, 2019 01:51
Generative Art - Sunflower - Petal
class SunflowerPetals {
float r;
float x;
float y;
SunflowerPetals(float headLength) {
r = headLength / 2;
}
void createPetals() {
@jeesunikim
jeesunikim / sunflower.pde
Last active January 24, 2019 02:41
Generative Art - Sunflower
SunflowerSeedSystem SunflowerSeeds;
SunflowerPetals Petals;
float HeadMag;
void setup() {
colorMode(HSB, 360, 100, 100);
background(0);
fullScreen();
@jeesunikim
jeesunikim / sunflower_seed_system.pde
Last active January 24, 2019 03:05
Generative Art - Sunflower - Seed System
class SunflowerSeedSystem {
SunflowerSeed[] seeds = new SunflowerSeed[2800];
PVector HeadPosition;
void toCreateInnerHead() {
int coreSeeds = 300;
int headSeeds = seeds.length - coreSeeds;
for(int i=0; i<seeds.length; i++) {
if(i < coreSeeds) {
@jeesunikim
jeesunikim / tic_tac_toe.js
Last active December 8, 2018 23:07
Tic Tac Toe
// In Action: https://codepen.io/jeesunikim/pen/wxOObg
const HUMAN_01 = "X";
const HUMAN_02 = "O";
const TIE = "TIE";
class Board {
constructor(originalBoard) {
this.board = new Array(originalBoard.length);
this.winner;