My friend Kyle has a built an app the tweets every 140 charters he types twitter.com/keytweeter. I thought this was interesting so I built an app to pull his twitter down and visualize the most popular key. Unfortunately twitter only allows you to go 3200 tweets back via paging. So the picture about is Kyle’s [...]
Finally got normals working for the height map. Brad helped me a ton with the math, thanks brad :). After making sure I had the right points its was pretty simple.
Here is an example to calculate normals for a grid in OpenFrameworks. Obviously this can be applied to any other language.
The image above we [...]
I wanted to create a shape within the contour so I used delaunay triangulation. This returned all the triangles that build up the convex hull of the points. This was great but I only wanted the triangles inside the contour. Theo gave me a really great inside polygon test which solved this. I made sure [...]
I used box2d to create a shape out of the contour of the body. There are still some some bugs that I’m trying to work out. Initially the shapes were only colliding with the interior of the contour but simple reversing the points solved that. Some shapes are still being push through but I think [...]