homecoded information 58 glöps

- general:
- level: user
- personal:
- first name: Manuel
- last name: Rülke
- 8k JavaScript Sine City by The Tourist
- Impressive!
- rulezadded on the 2014-10-13 14:42:35
- 1k JavaScript Colonoscopy by The Tourist
- I like.
- rulezadded on the 2014-10-13 14:40:32
- 1k JavaScript HC-01 Structures
- @p01 The demo is nothing special, I know. I am quite flabbergasted by how well it did. I tried to make a "solid" production with the little time I had. I wanted to try my hands on a ray marcher and have "music" that is at least a little bit more than the usual bleeps we get in most 1K JS demos. I am very happy with the outcome, considering this is my first demo, only having done JS1K entries before (that were not really 'demoesque').
As a side note: I wrote this demo last week on a vacation in the Netherlands. Since the wife and the kid were with me I was happy I could get anything done at all. ;)
@TheT I know the music didn't work on FF. :( That is because FF won't play wave files that start with Null-bytes. I was able to squeeze out 2 bytes from the rest of the code and add a "1|" to the bytebeat formula. Now, FF plays music, too. Thanks for noticing!
Anyway, here is the bytebeat formula as it is now, should anybody be interested:
1|"&DJ/3KAS".charCodeAt(7&(t>>15&t>>14))/200*t&64+(127&t>>13)|t>>6^34*Math.random()*(1&(t>>15&t>>13&t>>11|t>>13))
@all thanks for the kind words! :) - isokadded on the 2014-10-13 14:36:09
- 1k JavaScript HC-01 Structures
- Thanks for the upvotes.
@Photon: Yeah, music in 1K JS productions is always a bit of a problem. I wish I had more time to polish it. It's a bit off and I should have spend more time on the math.
@FreeFull: yup. This is ByteBeat ... Base64 wave file with Audio element. - isokadded on the 2014-10-12 17:42:25
account created on the 2014-03-26 10:22:15