Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/Fisheyer_Functions.r
This function combined with fisheye effect is used to simulate the hyperbolic space effect.
1 | toHiperbolico(objeto, M = 1, cx = 0, cy = 0, r = 1)
|
objeto |
A matrix with object coordinates |
M |
fisheye effect factor |
cx |
X coordinate for circle center. |
cy |
Y coordinate for circle center. |
r |
Radius |
Displaying information in a hyperbolic space commonly utilizes the Poincare disk model of hyperbolic geometry, though the Klein-Beltrami model can also be used. Both display the entire hyperbolic plane within a unit disk, making the entire set visible at once. The unit disk gives a fish-eye lens view of the plane, giving more emphasis to elements which are in focus and displaying elements further out of focus closer to the boundary of the disk. See references for details.
objetoC |
Matrix with new object coordinates. Cartesian system |
objetoP |
Matrix with new object coordinates. Polar system |
Eduardo San Miguel Martin
Heidi Lam, Ronald A. Rensink, and Tamara Munzner (2006). Effects of 2D Geometric Transformations on Visual Memory. Proc. Applied Perception in Graphics and Visualization (APGV 2006), 119-126, 2006.
Keith Lau, Ron Rensink, and Tamara Munzner (2004). Perceptual Invariance of Nonlinear Focus+Context Transformations. Proc. First Symposium on Applied Perception in Graphics and Visualization (APGV 04) 2004, pp 65-72.
plotPOI
, POIPlot
, fishIin
,fishIout
,
1 2 3 4 5 6 7 | circle1 = circulo(0,0,.25, PLOT = FALSE)
circle2 = circulo(0,0,1.25, PLOT = FALSE)
plot(0,0, xlim = c(-1.25,1.25), ylim= c(-1.25,1.25), col = 'white')
points(circle1, col = 'blue', cex = 0.5)
points(circle2, col = 'blue', cex = 0.5)
points(toHiperbolico(circle2,3)$objetoC, col = 'green', cex = 0.5)
points(toHiperbolico(circle1,3)$objetoC, col = 'green', cex = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.