Skip to Content
All Articles

CKTree, a family tree for CryptoKitties

CKTree showing Genesis kitty #1 with description panel, gene table, and scan workflow steps

CKTree after scanning Genesis (#1): kitty details, gene table, and the scan workflow.

CryptoKitties kitties have lineage. I wanted a picture of it. CKTree is that picture: a family tree visualizer for exploring lineage and the relationships between kitties.

You start with a kitty. The app takes a numeric id, or a full kitty URL that it reduces to that id, then scans related kitties and draws them as a network. Select one in the graph and you can read its info, including a table of its genes. When you want a different tree, you scan another kitty. The public app is at daylennguyen.github.io/CryptokittiesFamilyTree.

CKTree is a React and TypeScript project. The source has been public since 2020 at daylennguyen/CryptokittiesFamilyTree, and the package is MIT licensed. The relationships are drawn with react-vis-network. I care about code that future me can pick up: readable, and boring in the best way. A family tree is a good shape for that kind of project. The relationships are the product. The graph is there so you can follow them.

I live in Seattle, I studied computer science at the University of Washington Tacoma, and I build software at GoDaddy. CKTree sits with the other small, useful things I have kept in the open. I still make things I can hold in my head, and I still leave the code where someone else can read it. The rest of that tinkering lives at itme.day. If the tree is what you came for, the GitHub repository is the place to start.