Added rendering code; added triangle; added lerp line.