toHiperbolico: Hyperbolic-alike space effect

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/Fisheyer_Functions.r

Description

This function combined with fisheye effect is used to simulate the hyperbolic space effect.

Usage

1
toHiperbolico(objeto, M = 1, cx = 0, cy = 0, r = 1)

Arguments

objeto

A matrix with object coordinates

M

fisheye effect factor

cx

X coordinate for circle center.

cy

Y coordinate for circle center.

r

Radius

Details

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.

Value

objetoC

Matrix with new object coordinates. Cartesian system

objetoP

Matrix with new object coordinates. Polar system

Author(s)

Eduardo San Miguel Martin

References

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.

See Also

plotPOI, POIPlot, fishIin,fishIout,

Examples

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)

Example output

Loading required package: tkrplot
Loading required package: tcltk
Warning messages:
1: no DISPLAY variable so Tk is not available 
2: loading Rplot failed 

fisheyeR documentation built on May 2, 2019, 12:47 a.m.