Skip to content

Instantly share code, notes, and snippets.

@Piyush3dB
Piyush3dB / .block
Created December 22, 2020 04:48 — forked from tonyhschu/.block
Small Scroll-linked Animation Demo
scrolling: yes
license: MIT
@Piyush3dB
Piyush3dB / README.md
Created February 10, 2019 09:56 — forked from sxywu/README.md
The Force with React + D3, Approach #3

React + D3 exploration with the force layout:

  • React for structure
  • D3 for data calculation
  • D3 for rendering

Pro:

  • The viz scales!
  • Use all the d3 functions!

Con:

@Piyush3dB
Piyush3dB / gdsii.lua
Created May 15, 2018 10:17 — forked from jbcrail/gdsii.lua
Simple GDSII parser
-- A basic GDSII reader that reads from standard input and writes serialized
-- text to standard output
local gdsii = {}
gdsii.types = {
[0] = "HEADER",
[1] = "BGNLIB",
[2] = "LIBNAME",
[3] = "UNITS",
@Piyush3dB
Piyush3dB / pub_sub_cpp.cpp
Created October 26, 2016 13:19 — forked from makomweb/pub_sub_cpp.cpp
Fun with C++: implementing a pub/sub scenario using std::bind and other standard facilities. The approach is pretty similar to the well known .NET event mechanism.
#include <iostream>
#include <map>
#include <algorithm>
#include <functional>
#include <memory>
using namespace std;
class EventArgs {
public:
@Piyush3dB
Piyush3dB / README.md
Last active August 29, 2015 14:04 — forked from mbostock/.block
Dynamic Bubble Chart

Bubble charts encode data in the area of circles. Although less perceptually-accurate than bar charts, they can pack hundreds of values into a small space. This implementation is an improvement on Static bubble chart adding mouse tooltip and cluster attributes. The data shows the Flare class hierarchy.