{"action":"created","issue":{"url":"https://api.github.com/repos/tdegeus/cppcolormap/issues/3","repository_url":"https://api.github.com/repos/tdegeus/cppcolormap","labels_url":"https://api.github.com/repos/tdegeus/cppcolormap/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tdegeus/cppcolormap/issues/3/comments","events_url":"https://api.github.com/repos/tdegeus/cppcolormap/issues/3/events","html_url":"https://github.com/tdegeus/cppcolormap/issues/3","id":379067246,"node_id":"MDU6SXNzdWUzNzkwNjcyNDY=","number":3,"title":"Map to terminal colors","user":{"login":"wolfv","id":885054,"node_id":"MDQ6VXNlcjg4NTA1NA==","avatar_url":"https://avatars0.githubusercontent.com/u/885054?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfv","html_url":"https://github.com/wolfv","followers_url":"https://api.github.com/users/wolfv/followers","following_url":"https://api.github.com/users/wolfv/following{/other_user}","gists_url":"https://api.github.com/users/wolfv/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfv/subscriptions","organizations_url":"https://api.github.com/users/wolfv/orgs","repos_url":"https://api.github.com/users/wolfv/repos","events_url":"https://api.github.com/users/wolfv/events{/privacy}","received_events_url":"https://api.github.com/users/wolfv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-11-09T08:31:11Z","updated_at":"2018-11-10T12:47:07Z","closed_at":null,"author_association":"NONE","body":"This is not entirely serious, but could be a cool feature:\r\n\r\nModern terminals can handle 256 colors, which are mapped to some values here: https://jonasjacek.github.io/colors/\r\n\r\nThis website also has a JSON file.\r\n\r\nWhat I am wondering is wether we could map the (interpolated) RGB colors to terminal colors and then return a vector colormap of terminal colors so that we could plot a heatmap like this with different color schemes:\r\n\r\n![](https://files.gitter.im/QuantStack/Lobby/DgO8/Screenshot-from-2018-11-08-12-09-27.png)"},"comment":{"url":"https://api.github.com/repos/tdegeus/cppcolormap/issues/comments/437581514","html_url":"https://github.com/tdegeus/cppcolormap/issues/3#issuecomment-437581514","issue_url":"https://api.github.com/repos/tdegeus/cppcolormap/issues/3","id":437581514,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU4MTUxNA==","user":{"login":"wolfv","id":885054,"node_id":"MDQ6VXNlcjg4NTA1NA==","avatar_url":"https://avatars0.githubusercontent.com/u/885054?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfv","html_url":"https://github.com/wolfv","followers_url":"https://api.github.com/users/wolfv/followers","following_url":"https://api.github.com/users/wolfv/following{/other_user}","gists_url":"https://api.github.com/users/wolfv/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfv/subscriptions","organizations_url":"https://api.github.com/users/wolfv/orgs","repos_url":"https://api.github.com/users/wolfv/repos","events_url":"https://api.github.com/users/wolfv/events{/privacy}","received_events_url":"https://api.github.com/users/wolfv/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T12:47:07Z","updated_at":"2018-11-10T12:47:07Z","author_association":"NONE","body":"I just tried the second algorithm mentioned on the wikipedia page under Euclidean and it seems to give slightly nicer results! \r\n\r\n![screenshot from 2018-11-10 13-35-22](https://user-images.githubusercontent.com/885054/48301452-c1d34d00-e4ee-11e8-873e-3260d2263aa5.png)\r\n"}}
{"actor":{"display_login":"wolfv"}}