Skip to content

Instantly share code, notes, and snippets.

@j3py
j3py / README.md
Last active July 22, 2018 17:01
Rainbow Bar Chart (D3js) VR (A-Frame) https://bl.ocks.org/j3py

Rainbow Chart VR

This is a work-in-progress

Note: Github limits requests to their APIs and I don't have a reliable error alert in the VR context yet.

ToDo

@j3py
j3py / ksentence.js
Last active April 30, 2021 20:00
Random Korean Sentence Generator (https://jsfiddle.net/j3pydev/nj1qzexe/)
// here is the formula for conversion:
// [{(initial) × 588} + {(medial) × 28} + (final)] + 44032
// here are the tables (arrays) necessary
//var initialJaeum = ['ㄱ','ㄲ','ㄴ','ㄷ','ㄸ','ㄹ','ㅁ','ㅂ','ㅃ','ㅅ','ㅆ','ㅇ','ㅈ','ㅉ','ㅊ','ㅋ','ㅌ','ㅍ','ㅎ'];
//var medialMoeum = ['ㅏ','ㅐ','ㅑ','ㅒ','ㅓ','ㅔ','ㅕ','ㅖ','ㅗ','ㅘ','ㅙ','ㅚ','ㅛ','ㅜ','ㅝ','ㅞ','ㅟ','ㅠ','ㅡ','ㅢ','ㅣ'];
//var finalJaeum = ['','ㄱ','ㄲ','ㄳ','ㄴ','ㄵ','ㄶ','ㄷ','ㄹ','ㄺ','ㄻ','ㄼ','ㄽ','ㄾ','ㄿ','ㅀ','ㅁ','ㅂ','ㅄ','ㅅ','ㅆ','ㅇ','ㅈ','ㅊ','ㅋ','ㅌ','ㅍ','ㅎ'];
// in future add arrays of common particles for subjects,
// objects, prepositions and verb endings
@j3py
j3py / YqKImXNCjo.gif
Last active April 24, 2017 02:40
Rainbow Bar Chart of Your Github Language Stats (see comments in JS file) https://bl.ocks.org/j3py
YqKImXNCjo.gif