{"id":228,"date":"2017-04-25T08:15:55","date_gmt":"2017-04-25T08:15:55","guid":{"rendered":"http:\/\/imalogic.com\/blog\/?p=228"},"modified":"2017-05-12T12:27:59","modified_gmt":"2017-05-12T12:27:59","slug":"ice-fire","status":"publish","type":"post","link":"https:\/\/imalogic.com\/blog\/2017\/04\/25\/ice-fire\/","title":{"rendered":"Ice &#038; Fire"},"content":{"rendered":"<body><h1>My \u201cfirst 4k\u201d\/ 4 Kbytes intro \/ 4096 bytes<\/h1>\n<p>Released at revision 2017, ranking #7 \u2013 Hard competition this year ;-p<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"810\" height=\"456\" src=\"https:\/\/www.youtube.com\/embed\/KlEiztyfgHU?version=3&amp;rel=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;fs=1&amp;hl=en-US&amp;autohide=2&amp;start=981&amp;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<p>\u201cOne hundred hours\u201d to optimize shader code &amp; music size\u2026<\/p>\n<p>Because of the strict size limits, intros show off the programmer\u2019s ability to squeeze much into little space, often by generating graphic and sound data rather than just reading it from a datafile. Because of the extremely low size limit, 4K intros used to lack sound, or had extremely low quality music. As technology progresses, however, 4K sound synthesis has become a new frontier in the demoscene. 4K still isn\u2019t the lowest border for demosceners: some demoparties organize 1K, 256 byte, 64 byte or even 32 byte intro competitions.<\/p>\n<p>Coding a 4k intro is a matter of discipline and code magic. You have to be very good friends with the development environment you are working with and know it\u2019s inner details.<\/p>\n<p>My work flow for coding a 4kb intro start from scratch using some of the ready made frameworks available on the net.<\/p>\n<p>The best framework I\u2019ve come across is the one made by Inigo Quilez aka iq of rgba. He has published frameworks for starting 4k and 1k coding in c\/c++ using software rendering, opengl with\/without shader and d3d9. You can safely download one of his framework and use as foundation without loosing any credits in among the tough guys in the scene. This will setup visual output and allow for easy coding of visuals.<\/p>\n<p>An previous version before the competition\u2026<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"810\" height=\"456\" src=\"https:\/\/www.youtube.com\/embed\/NkUQE4f_b4M?version=3&amp;rel=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;fs=1&amp;hl=en-US&amp;autohide=2&amp;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<p>You can download this at pouet.net :<\/p>\n<p><a href=\"http:\/\/www.pouet.net\/prod.php?which=69710\">http:\/\/www.pouet.net\/prod.php?which=69710<\/a><\/p>\n<p>More free stuff @ https:\/\/unix61.bandcamp.com\/<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>My \u201cfirst 4k\u201d\/ 4 Kbytes intro \/ 4096 bytes Released at revision 2017, ranking #7 \u2013 Hard competition this year<\/p>\n","protected":false},"author":1,"featured_media":230,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,2],"tags":[11,19,3,20,12,18,10,13],"class_list":["post-228","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding","category-demo","tag-11","tag-4k","tag-demo","tag-fractal","tag-hoodlum","tag-intro","tag-revision","tag-unix"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/imalogic.com\/blog\/wp-content\/uploads\/2017\/04\/ice.jpg?fit=1400%2C1400&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8J21V-3G","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":1,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/posts\/228\/revisions\/283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/media\/230"}],"wp:attachment":[{"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imalogic.com\/blog\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}