Recursive ray tracer implementation in Dart