Hack of the Day Holiday Special: 3D Christmas Tree in 1KB


first_imgTags:#hack#Hack of the Day Growing Phone Scams: 5 Tips To Avoid Why You Love Online Quizzes Roman Cortes wowed a lot of people with his entry into the “1k Javascript demo contest“: an animated 3D Christmas tree. In just one KB of code.Cortes has visual guide on how he created it starting with simple pixels to be used as sprites and then animated with 3D vectors. Related Posts The rules of the contest:Must have an xmas themeSubmissions may be up to 1k (1024 bytes)Submissions must consist of only jsAny and all externals are strictly forbiddenMust work on current browsers versions (ch, o, fx and sa)The eval family is NOT allowed this timeYou get canvas object, its context and body object for “free”Your demo must work in the “html5” shim providedYour demo must be submitted before xmas!For more information the history of these sorts of contests, see the Wikipedia entry for Demoscene. 7 Types of Video that will Make a Massive Impac… How to Write a Welcome Email to New Employees? klint finleylast_img

Leave a Reply

Your email address will not be published. Required fields are marked *