Email or username:

Password:

Forgot your password?
Top-level
optozorax

@zenorogue how do you simulate teleportation of a gravity? Recently I have a thought that it might be done using teleportation of gravitons as a model of a gravity. And also, portals must be two-sided, for symmetry.

2 comments
Zeno Rogue

@optozorax We use a grid approximation (as seen in "gravision"). Each square has some value of potential. Without portal, it would linearly depend on the 'y' coordinate.

To take the portals into account, we assume that the Laplacian should equal 0. Which in discrete terms means that each value of potential should equal the average of values on 4 adjacent squares. So we iteratively replace potential on every tile with this average until it stabilizes. The actual grid is much larger than the room, and there is a boundary condition on the edges (defined as if there was no portal).

Adjacent squares of course take portals into account. And the portals are indeed two-sided (for example, the adjacent square 'below' the square above the blue portal will be below the orange portal).

@optozorax We use a grid approximation (as seen in "gravision"). Each square has some value of potential. Without portal, it would linearly depend on the 'y' coordinate.

To take the portals into account, we assume that the Laplacian should equal 0. Which in discrete terms means that each value of potential should equal the average of values on 4 adjacent squares. So we iteratively replace potential on every tile with this average until it stabilizes. The actual grid is much larger than the room,...

optozorax

@zenorogue after some talking to gpt, couldn't understand theoretic basis of your approach, but it seems easy to program. I will program in some future, and will compare it to my idea with gravitons. Thanks!

Go Up