News for hackers. Stuff that matters.
Re:Show HN: A simple infinite world in WebGL by jackfrodo on Thursday July 28, 2016 @04:04PM (#12182759)
>var f = 0.0015974 Where did this number come from? Is it arbitrary?
Re:Show HN: A simple infinite world in WebGL by erkaman on Thursday July 28, 2016 @04:57PM (#12183099)
Just arbitrary hand-tweaking. It was chosen because I though it looked good. When doing procedural generation like this, you basically just tweak constants 'til it looks good. There's no deeper reason behind it.
Re:Show HN: A simple infinite world in WebGL by Eyght on Thursday July 28, 2016 @05:53PM (#12183487)
I'm hoping that this kind of interaction will be part of one of our first encounters with aliens, sometime in the far future. The aliens would ask why we had done something a certain way and the human answer would be: "Because it looks good".
Re:Show HN: A simple infinite world in WebGL by tonmoy on Thursday July 28, 2016 @07:34PM (#12184000)
Another example: bootstrap
Re:Show HN: A simple infinite world in WebGL by ReFruity on Friday July 29, 2016 @06:01AM (#12185826)
Next step is to extract these constants for user to play with.