impress/impress.js

Feature request: Polar and spherical coordinates for positioning of steps

Open

#669 ouverte le 15 févr. 2018

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (6 605 forks)batch import
help wanted

Métriques du dépôt

Stars
 (38 178 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur