{"id":20132814,"url":"https://github.com/memo/houseofcardsdataconvertor","last_synced_at":"2025-03-02T22:19:03.318Z","repository":{"id":138995991,"uuid":"1446255","full_name":"memo/HouseOfCardsDataConvertor","owner":"memo","description":"Utility to preprocess and convert the Radiohead \"House of Cards\" point cloud data from text to a binary grid for much faster streaming and persistence across frames","archived":false,"fork":false,"pushed_at":"2011-03-06T13:02:13.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T17:09:49.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://memo.tv/radiohead_house_of_cards_binary_pre_processed_data","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/memo.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-06T12:58:53.000Z","updated_at":"2013-10-15T08:31:45.000Z","dependencies_parsed_at":"2023-04-01T15:36:52.537Z","dependency_job_id":null,"html_url":"https://github.com/memo/HouseOfCardsDataConvertor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FHouseOfCardsDataConvertor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FHouseOfCardsDataConvertor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FHouseOfCardsDataConvertor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FHouseOfCardsDataConvertor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memo","download_url":"https://codeload.github.com/memo/HouseOfCardsDataConvertor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241577453,"owners_count":19984999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T20:55:12.870Z","updated_at":"2025-03-02T22:19:03.298Z","avatar_url":"https://github.com/memo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"A pre-processing pass on the text data for the Radiohead House of Cards video\nhttp://code.google.com/creative/radiohead/\n\nmore info at \nhttp://memo.tv/radiohead_house_of_cards_binary_pre_processed_data\n\n- cropped the excess area outside of the face.\n- mapped the x,y coordinates to a 100x100 grid and quantized them - so they fall exactly on the 100x100 grid. More on this later.\n- stored only the height (z) and intensity. No longer need to store x,y as its in a grid.\n- removed some of the noise (this can do with some improvement).\n- mapped the height (z) to 0..255 so it can be stored in 1 byte.\n\nAs a result of this, for every frame there is exactly 100x100 dots, and 2 bytes per dot (z \u0026 intensity). Making it 20KB per file. So pretty quick to load each frame. In fact the entire 2101 frame animation can be preloaded only taking up 40MB of memory.\n\nThe main reason I did this however, was not only to improve load times, but was so that each dot info will be in the same place in memory across different frames. So a particle system or any complex interaction can easily be created from all the dots while playing the animation.\n\nAlso, since the data is normalized (100x100 grid for x,y; 0..255 for z) when loading the data the coordinates need to be adjusted. I found scaling the (x, y, z) values by (4.5, 6, 1.5) respectively works quite well.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo%2Fhouseofcardsdataconvertor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemo%2Fhouseofcardsdataconvertor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo%2Fhouseofcardsdataconvertor/lists"}