Tracing field lines