impress/impress.js

Feature request: Polar and spherical coordinates for positioning of steps

Open

#669 geöffnet am 15. Feb. 2018

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (6.605 Forks)batch import
help wanted

Repository-Metriken

Stars
 (38.178 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide