Better HN
topnewbestaskshowjobs
Log inSign up

sw3d

1 karma · joined Nov 30, 2019 (6y ago) · 5 submissions

Submissions

comment 6y ago · link · parent

Does it man it's no longer safe to update Ubuntu, for the risk of getting some spyware tools?

2.

Show HN: Tremapping Comments from HN with WebGL(iswaac.dev ↗)

4 points · by sw3d · 6y ago · discuss

comment 6y ago · link · parent

The treemap json file is created on a cheap VPS droplet: it git-clones a github repo, extracts AST with the TypeScript Compiler API, applies d3.treemap and converts the treemap into a flat list of 3d boxes for WebGL.

The repo can be set in the URL: https://iswaac.dev?microsoft/vscode/src (careful with this one: it generates 40K boxes and WebGL may crash).

Disclaimer: I do not work for MS; the typescript/vscode are just good examples of sufficiently complex TS projects.