[tracer] refactor coordinates generator - use functions fromPolar and turns