Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F406
Heatmap
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
Gilles
Oct 23 2014, 10:13 PM
2014-10-23 22:13:15 (UTC+0)
Size
362 B
Referenced Files
None
Subscribers
None
Heatmap
View Options
Table table = loadTable("viewport.csv", "header");
size(2500, 2500);
background(0);
for (TableRow row : table.rows()) {
int count = row.getInt("count");
int width = row.getInt("width");
int height = row.getInt("height");
stroke( 255.0, min( 255.0, (log( float( count ) ) / 4.8) * 255.0), 0.0 );
point(width, height);
}
save("viewport heatmap.png");
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
400
Default Alt Text
Heatmap (362 B)
Attached To
Mode
P39 Heatmap
Attached
Detach File
Event Timeline
Log In to Comment