arjonagelhout
Joined 6 years ago
Joined 6 years ago
React Native uses Skia under the hood as far as I recall.
Here’s a quad tree:
11
11
—
0110
0110
1111
0110
—
00000000
00011000
00011000
00111100
01111110
11111111
00011000
00011000
I’d also love to be pointed to other techniques or approaches that might be better.
Let me know if the part about recording the diff is of interest.
Take this example: "When debugging I typically:"
> Write tests to isolate the problem
In the case of math functions, or more primitive building blocks, writing tests can help ensure correctness of the underlying functions, to exclude them from the problem search.
> Reason about the code logically first
This is always useful.
> Use a debugger to step through code systematically
Useful when dealing with a larger codebase and the control flow is hard to follow. The call stack can give quick guidance over trying to manually decipher the control flow.
> Add print statements to understand data flow:
Useful when debugging continuous data streams or events, e.g. mouse input, where you don't want to interrupt the user interaction that needs to be debugged.
I tried uMake a while back, but found the 3D viewport navigation a bit hard to use, and would often find out I had been drawing on the wrong plane after orbiting the camera.
After using something like Tilt Brush in VR, it's hard to go back to a 2D screen that doesn't instantly communicate the 3D location of the brush strokes you're placing.