Commit Graph

3 Commits

Author SHA1 Message Date
Kartik K. Agaram 6ae88ace54 spawning tries 10 times to avoid overlap 2023-11-26 22:55:54 -08:00
Kartik K. Agaram 34f286270f position nodes on discrete multiples of 100
I have a few ideas for encouraging arrangements of definitions to have
more life in the sense of Christopher Alexander:
* quantize the x axis to discrete columns
* don't force a single grid; that can look boring. Each node occupies
  600px of width, so quantizing at multiples of 100 gives us 6 possible
  arrangements.
* always position new nodes within the current viewport
* always position new nodes at least some amount of padding above to
  give the node above some room to grow
* forbid overlap
  * moving a node against another should push the other node as well
  * I want a node to yield some resistance, but I don't want resistance
    to grow linearly by the number of nodes pushed
2023-11-12 09:49:25 -08:00
Kartik K. Agaram 2d5abe140b make order of files consistent with upstream
Luckily I only had a chance to mess this up in one fork.

And I don't need to actually make any changes because my definitions are
order-independent.
2023-04-22 18:50:18 -07:00
Renamed from 0087-on.update (Browse further)