rendering works (more or less) but there's something wrong with the spring math