Skip to content

Instantly share code, notes, and snippets.

View vkuchinov's full-sized avatar

Vladimir V. Kuchinov vkuchinov

View GitHub Profile
@vkuchinov
vkuchinov / README.md
Last active January 29, 2018 12:05
D3.JS Step Progress Bar

Step Progress Bar based on data with animated transitions. setInterval is just for demonstration, use updateProgressBar(element) instead.

@vkuchinov
vkuchinov / README.md
Last active September 4, 2020 06:44
D3.JS Simplified Buttons

A simplified version of http://bl.ocks.org/pbogden/7487564 made by pbogden. You can assign every button 'click' event to different functions:

var data = [{label: "BUTTON.A", x: 100, y: 60, function: function(){ fnA(); } }, {label: "BUTTON.B", x: 100, y: 120, function: function(){ fnB(); } } ];

@vkuchinov
vkuchinov / README.md
Last active January 29, 2018 12:11
D3.JS InputBox [form]

InputBox object based on deeply tweaked SVG button by pbogden. Has minor warning "orm submission canceled because the form is not connected", so if anyone has any suggestion how to fix it — you're more than welcome.

Just leave your comments here.

@vkuchinov
vkuchinov / .block
Last active February 12, 2018 16:02
D3.JS Split Chords
border: no
height: 960
@vkuchinov
vkuchinov / .block
Last active February 12, 2018 16:01
D3.JS Split Chords With Multiplier
border: no
height: 960
@vkuchinov
vkuchinov / README.md
Last active April 30, 2018 11:06
D3.JS Liquid Shapes (external SVG)
@vkuchinov
vkuchinov / README.md
Last active July 25, 2018 11:38
D3.JS Multi-Levelled [Zoomable] Wordcloud
@vkuchinov
vkuchinov / DragControls4D3.js
Last active October 17, 2019 16:55
D3.JS / THREE.JS : A hybrid 3D scatter plot MkI
/*
* @author zz85 / https://github.com/zz85
* @author mrdoob / http://mrdoob.com
* Running this will allow you to drag three.js objects around the screen.
* Modified for D3.JS / THREE.JS stack by
* @author vkuchinov / https://github.com/vkuchinov
*
*/
@vkuchinov
vkuchinov / DragControls4D3.js
Last active October 4, 2019 10:35
D3.JS / THREE.JS : A hybrid 3D scatter plot MkII [with dynamic axes]
/*
* @author zz85 / https://github.com/zz85
* @author mrdoob / http://mrdoob.com
* Running this will allow you to drag three.js objects around the screen.
* Modified for D3.JS / THREE.JS stack by
* @author vkuchinov / https://github.com/vkuchinov
*
*/
@vkuchinov
vkuchinov / OrbitControls.js
Last active October 4, 2019 10:36
THREE.JS / D3.JS : A vector-based HUD over THREE.JS scene + custom THREE.PylonGeometry
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
*/
THREE.OrbitControls = function ( object, domElement ) {
this.object = object;