Ray tracing atoms