draw_segment x=>y --> max=>min #16

Closed
opened 2026-02-20 05:15:45 +00:00 by jaynuine · 0 comments
Owner

consider computing the component of tracer according to that minimal of delta from the other component, rather than implying that delta.x ought to be greater than delta.y, which results in gaps and an outright crash in the case of asymptotes as division by a null delta.x tends to either signed infinity

this would effectively rotate our frame of reference by 1/8tau, shifting the domain of slope from [-inf >< +inf] to [-1 >< +1], as we would only ever consider components such that our delta * direction would stand between two diagonals

(remaining on a naive implementation which should ideally later be incorporated into a period duplicating algorithm so as not to recompute the same segment over and over)

consider computing the component of tracer according to that minimal of delta from the other component, rather than implying that `delta.x` ought to be greater than `delta.y`, which results in gaps and an outright crash in the case of asymptotes as division by a null `delta.x` tends to either signed infinity this would effectively rotate our frame of reference by 1/8tau, shifting the domain of `slope` from `[-inf >< +inf]` to `[-1 >< +1]`, as we would only ever consider components such that our `delta * direction` would stand between two diagonals (remaining on a naive implementation which should ideally later be incorporated into a period duplicating algorithm so as not to recompute the same segment over and over)
jaynuine added this to the todo project 2026-02-20 05:15:45 +00:00
Sign in to join this conversation.
No labels
bug
mlx
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#4 draw segments
jaynuine/fdf
Reference
jaynuine/fdf#16
No description provided.