From e6aaa10f678cd8d9c3d96e322a3db342d989898a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Medina?= Date: Thu, 12 Apr 2018 13:35:34 +0200 Subject: [PATCH] Update 02-CartoCSS.md --- docs/guides/02-CartoCSS.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/guides/02-CartoCSS.md b/docs/guides/02-CartoCSS.md index 4846b8c..fe1981c 100644 --- a/docs/guides/02-CartoCSS.md +++ b/docs/guides/02-CartoCSS.md @@ -1,22 +1,24 @@ ## Torque CartoCSS -### -torque-clear-color +CartoCSS is one the tools of the CARTO platform. You can learn more about the different [components of CARTO platform]({{site.fundamental_docs}}/components/), or directly dig into [CartoCSS too]({{site.tools_cartocss}}/) details. + +`-torque-clear-color` Color used to clear canvas on each frame. -### -torque-frame-count +`-torque-frame-count` Number of animation steps/frames used in the animation. If the data contains a fewer number of total frames, the lesser value will be used. -### -torque-resolution +`-torque-resolution` Spatial resolution in pixels. A resolution of 1 means no spatial aggregation of the data. Any other resolution of N results in spatial aggregation into cells of NxN pixels. The value N must be power of 2. -### -torque-animation-duration +`-torque-animation-duration` Animation duration in seconds. -### -torque-aggregation-function +`-torque-aggregation-function` A function used to calculate a value from the aggregate data for each cell. See [-torque-resolution](#-torque-resolution). -### -torque-time-attribute +`-torque-time-attribute` The table column that contains the time information used create the animation. -### -torque-data-aggregation +`-torque-data-aggregation` A linear animation will discard previous values while a cumulative animation will accumulate them until it restarts.