impress/impress.js

Feature request: Polar and spherical coordinates for positioning of steps

Open

#669 aberto em 15 de fev. de 2018

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (6.605 forks)batch import
help wanted

Métricas do repositório

Stars
 (38.178 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador