Skip to content

Instantly share code, notes, and snippets.

@aleszu
Created October 5, 2015 17:42
Show Gist options
  • Save aleszu/2dbb9296b0c3224db9af to your computer and use it in GitHub Desktop.
Save aleszu/2dbb9296b0c3224db9af to your computer and use it in GitHub Desktop.
/** torque_cat visualization */
Map {
-torque-frame-count:256;
-torque-animation-duration:30;
-torque-time-attribute:"date_time";
-torque-aggregation-function:"CDB_Math_Mode(torque_category)";
-torque-resolution:1;
-torque-data-aggregation:linear;
}
#bird_tracking{
comp-op: source-over;
marker-fill-opacity: 0.9;
marker-line-color: #FFF;
marker-line-width: 0;
marker-line-opacity: 1;
marker-type: ellipse;
marker-width: 3;
marker-fill: #FF6600;
}
#bird_tracking[frame-offset=1] {
marker-width:5;
marker-fill-opacity:0.45;
}
#bird_tracking[frame-offset=2] {
marker-width:7;
marker-fill-opacity:0.225;
}
#bird_tracking[value=1] {
marker-fill: #B81609;
}
#bird_tracking[value=2] {
marker-fill: #FFA300;
}
#bird_tracking[value=3] {
marker-fill: #A53ED5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment