impress/impress.js

Feature request: Polar and spherical coordinates for positioning of steps

Open

#669 aperta il 15 feb 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (6605 fork)batch import
help wanted

Metriche repository

Star
 (38.178 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

It would be great if it was possible to position the steps by polar coordinates. Makes positioning much easier if you use rotation or slides arranged with relative rotations to each other (e.g. positioning them along a circle). I would propose new data-angle and data-distance (polar coordinates - 2D) and data-angle-primary, data-angle-secondary, data-distance (spherical coordinates - 3D) attributes along with the corresponding relative ones. One could also think of a astronomical positioning system (azimuth, elevation, distance).

The rest should be a relative simple math formula with math.pi, math.sin and so on.

When I have the time I would be glad to help with the implementation, but at the moment I have no spare time for this.

Guida contributor