thesystemis
Joined 17 years ago
Joined 17 years ago
https://www.instagram.com/zach.lieberman/
I have learned a great deal from the act of daily coding and treating code like a creative medium without any pressure on what I make or why. I found myself tackling hard challenges so I wouldn't get bored and learning a variety of new tricks to help make the sketching easier. I wrote about the process here:
https://medium.com/@zachlieberman/daily-sketches-2016-28586d...
I think daily activities are the best for growing -- short, concentrated, and limited in scope and can fit with the rest of your life.
also if it's helpful to anyone, I do open office hours once per week and I am happy to talk to anyone about sketching, creative code or anything else:
https://medium.com/@zachlieberman/open-office-hours-124e1b79...
putting this in the address bar can give you a lot of info as well "chrome://gpu"
This was a passion project, they approached me with a set of data -- satellite images, and we discussed different ways of visualizing them, etc.
http://depts.washington.edu/madlab/proj/dollar/index.html
which gives a value for how close to polylines are (it normalizes them and does some distance calculations)
the way the vp tree works is you provide a set of data and a metric for distance (in my case, the data was the polylines and the metric was from dollar) and it computes the structure. As long as the metric observes some basic principles (I think it's called triangle inequality) the spatial division will work and you can do a fast search for nearest neighbors.
https://gist.github.com/spite/90e3dbf8e117660f6788a5748ae06c...
they are not as good as when you draw a curve and I think it's just trimming based on general poor matches. I've found if I round the Z or make the angle less extreme I can get better results.
another thing to note is that the app progressively loads data in the background so you get better results after the first minute or so once all the data is loaded -- the app launches with only 20% of the overall data.
here's a technical write up:
https://developers.google.com/web/showcase/2016/land-lines
the trick for making it fast is vantage point trees (https://en.wikipedia.org/wiki/Vantage-point_tree) which help with nearest neighbor searching through extremely large data sets.
twitter.com/zachlieberman