impress/impress.js

Feature request: Polar and spherical coordinates for positioning of steps

Open

#669 opened on 2018年2月15日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (38,178 stars) (6,605 forks)batch import
help wanted

説明

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.

コントリビューターガイド