Timeline for Ulam spiral coordinate system [closed]
Current License: CC BY-SA 2.5
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2022 at 23:21 | comment | added | orion elenzil | I wasn't able to find an answer to this, so I rolled my own. It's not a 'single' formula but rather 4 or 5 separate formulae. I wanted it write the UIam Spiral as a shader, which inherently means you're given the cartesian coordinates and need to decide what to do from there. shadertoy.com/view/ssjBRm | |
Oct 29, 2015 at 3:29 | comment | added | John Henckel | Great question. I'm interested in this because it provides a nice spatial hashing algorithm. For example convert (x,y) to ulam, and then insert into hash table using ulam as key. | |
Sep 23, 2013 at 5:34 | history | closed |
Ricardo Andrade Todd Trimble Chris Godsil Andrés E. Caicedo Andrey Rekalo |
Not suitable for this site | |
Sep 22, 2013 at 20:52 | review | Close votes | |||
Sep 23, 2013 at 5:34 | |||||
Sep 22, 2013 at 20:30 | answer | added | Adam P. Goucher | timeline score: 3 | |
Jun 22, 2010 at 9:28 | history | edited | Andrea Ferretti |
edited tags
|
|
Jun 22, 2010 at 5:41 | comment | added | Roland Bacher | As you observed, it is easy to find formulae (given by polynomials of degree $2$) for the four "half-lines" given by $\vert x\vert=\vert y\vert$. One gets then formulae for the general case according to the quarter plane determined by $\vert x\vert=\vert y\vert$ containing a given point. I think that this is the simplest solution. By the way, I agree with your first thought. | |
Jun 22, 2010 at 3:47 | history | asked | cerebral_monkey | CC BY-SA 2.5 |