Timeline for Divide a Graphics Line into $i$ equal lengths
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 30, 2019 at 7:45 | comment | added | J. M.'s missing motivation♦ |
"Lerping" + Subdivide[] (as in Okkes's answer) is nice, along with using dot products: With[{p1 = {0, 0}, p2 = {4, 4}, n = 7}, Transpose[{1 - #, #} &[Subdivide[n]]].{p1, p2} // Composition[Through, {Line, Point}] // Graphics] (@Richard, this is for you too)
|
|
Aug 29, 2019 at 8:18 | vote | accept | Richard Burke-Ward | ||
Aug 28, 2019 at 19:59 | comment | added | Richard Burke-Ward | Many thanks to both of you. I have updated my question in response to your answers. I wasn't clear that I understand the maths, I just need to know how to add the ticks. | |
Aug 28, 2019 at 19:57 | vote | accept | Richard Burke-Ward | ||
Aug 28, 2019 at 19:59 | |||||
Aug 28, 2019 at 15:11 | history | answered | halirutan | CC BY-SA 4.0 |