[{"data":1,"prerenderedAt":309},["ShallowReactive",2],{"project-16500481":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":45,"post_text":47,"what":48,"said":65,"maker_in_thread":163,"shape":172,"grid":175,"attempts":269,"same_week":270,"maker_shows":32,"maker_hidden":301,"reader_version":302,"card":303},"16500481","rts-reasonml","WebGL Demo in ReasonML","title","Show HN: WebGL Demo in ReasonML","https:\u002F\u002Femnh.github.io\u002Frts-reasonml\u002F","emnh.github.io","hvidevold",1519987694,2018,74,40,587,2155,28,"notable","creative","webgl water demo","web_app",[24,25,26,27,28],"webgl","reasonml","water simulation","shader","bucklescript","mixed",-0.167,{"positive":32,"neutral":33,"mixed":32,"critical":34},4,7,9,24,{"performance":37,"docs":40,"execution":42,"design":44},{"positive":38,"critical":39},3,8,{"positive":41,"critical":41},0,{"positive":41,"critical":43},1,{"positive":43,"critical":41},[41,38,41,43,43,46,38,43,41,43,41,43,41,38,41,41,41,41,38,38,46,38,38,41,38,41,38,43,41,43,38,41,41,41,46,46,38,41,43,43],5,null,{"problem":47,"audience":47,"pricing":47,"motivation":47,"time_to_build":47,"stack":49,"openness":63,"stage":64,"team_size":63},[50,59],{"value":51,"source":52,"evidence":53},"ReasonML","maker",[54,56],{"id":55},"post",{"id":57,"by":11,"text":58},"16500981","Author here. Are you getting any warnings? Does it say it is using WebGL 1 or 2 on the left side? I am getting 60 FPS on Windows Chrome 64 with WebGL 2 on a 5 year old Radeon…",{"value":60,"source":52,"evidence":61},"WebGL",[62],{"id":57,"by":11,"text":58},"unknown","prototype",{"praise":66,"objections":94,"requests":135,"questions":143,"alternatives":151},[67,83],{"value":68,"source":69,"evidence":70},"Smooth 60 FPS on many machines","commenter",[71,75,79],{"id":72,"by":73,"text":74},"16503512","rhencke","60fps on Firefox Nightly 64-bit here. With Intel graphics card.",{"id":76,"by":77,"text":78},"16503329","techwizrd","60 FPS in Firefox on my 2017 work rMBP. This is really neat.",{"id":80,"by":81,"text":82},"16501246","rmrfrmrf","60fps on Safari\u002FiPhone 7 Plus",{"value":84,"source":69,"evidence":85},"Looks good and works well",[86,90],{"id":87,"by":88,"text":89},"16501377","ritchiey","IPhone 7 Using WebGL ver: 1 Open ControlsWarning: No color buffer floats. Water will look bad. Try Chrome >= 64. 60 FPS. Looks ok to me but have to zoom to fill the screen with…",{"id":91,"by":92,"text":93},"16503580","BugsJustFindMe","It works really well if you set the wave height to 100.",[95,114,121,128],{"value":96,"source":69,"evidence":97},"Low frame rate on many machines",[98,102,106,110],{"id":99,"by":100,"text":101},"16503066","leshow","I'm getting like 4 fps on Debian 8 Firefox nightly 64-bit. In the latest chrome I get about 10 fps. I see other people experiencing similar problems.",{"id":103,"by":104,"text":105},"16500930","rounce","I'm barely getting 12fps on a 2016 MBP with latest Chrome stable.",{"id":107,"by":108,"text":109},"16501198","tigershark","I see 33 FPS on iPhone 6s with safari",{"id":111,"by":112,"text":113},"16501636","k__","Nice! But I'm getting like 11fps on my mobile xD",{"value":115,"source":69,"evidence":116},"Animation speed tied to monitor refresh rate",[117],{"id":118,"by":119,"text":120},"16501248","jsheard","It looks like the animation speed is coupled with the framerate, the waves appear normal on my 60hz monitor but move way too fast on my 165hz one. Nice work otherwise though.",{"value":122,"source":69,"evidence":123},"Water drains out after a few seconds",[124],{"id":125,"by":126,"text":127},"16505064","firefoxd","I get 60fps on my phone but after a few seconds all the water leaks out and i am left with a plane. Is that normal? Edit: using brave 1.0.30 chromium 60",{"value":129,"source":69,"evidence":130},"Controls do nothing for some users",[131],{"id":132,"by":133,"text":134},"16503551","kroltan","60fps, Intel integrated graphics, Firefox on Linux Mint. WebGL 1. But the controls\u002Fadjustments seem to do nothing? Anyways, good to see things implemented in ReasonML, currently…",[136],{"value":137,"source":69,"evidence":138},"Support mobile browsers",[139],{"id":140,"by":141,"text":142},"16501085","jaaames","Is this supposed to work at all on Chrome mobile?",[144],{"value":145,"source":69,"evidence":146},"Expected framerates on Intel graphics",[147],{"id":148,"by":149,"text":150},"16500895","blauditore","What are normal framerates to expect here, with working graphics drivers on a modern laptop with Intel embedded graphics? I'm asking because I have the suspicion my Firefox is…",[152,159],{"value":153,"source":69,"evidence":154},"Reprocessing (Reason to OpenGL and WebGL)",[155],{"id":156,"by":157,"text":158},"16504292","chenglou","Nice! I see that this is directly using WebGL. If anyone’s interested, Reason can also compile to OpenGL and WebGL at the same time through…",{"value":160,"source":52,"evidence":161},"madebyevan webgl-water",[162],{"id":57,"by":11,"text":58},{"comments":33,"answered":38,"key":164},[165,168,169],{"id":166,"text":167},"16501283","This is true. I forgot about it. I added an issue on the repository. Thanks!",{"id":57,"text":58},{"id":170,"text":171},"16501058","I checked the specs comparison at (https:\u002F\u002Fwww.videocardbenchmark.net\u002Fcompare.php?cmp%5B%5D=2623&cmp%5B%5D=324) and it says my card is about 4 times beefier than yours even if it…",{"commenters":173,"max_depth":46,"maker_replies":33,"first_comment_mins":174,"lifespan_hours":34},26,95,[176,178,180,182,185,188,190,192,193,195,198,199,201,205,208,211,213,216,218,220,223,224,227,229,233,237,240,241,244,246,249,251,253,255,257,258,260,263,266,267],[156,41,41,177,157,41],"other\u002Fneutral\u002Fnone",[118,43,38,179,119,41],"project\u002Fmixed\u002Fperformance",[166,43,41,181,11,43],"maker\u002Fpositive\u002Fexecution",[99,183,43,184,100,41],2,"project\u002Fcritical\u002Fperformance",[186,183,43,184,187,41],"16503362","jxub",[72,183,46,189,73,41],"project\u002Fpositive\u002Fperformance",[148,38,38,191,149,41],"project\u002Fneutral\u002Fperformance",[103,38,43,184,104,41],[57,38,41,194,11,43],"maker\u002Fneutral\u002Fperformance",[196,38,43,184,197,41],"16501023","pjmlp",[170,38,41,194,11,43],[200,38,43,184,149,41],"16501019",[202,38,41,203,204,41],"16501999","commenter\u002Fneutral\u002Fperformance","stefanfisk",[206,38,38,191,207,41],"16500952","dr_zoidberg",[209,38,41,203,210,41],"16500977","DiThi",[212,38,41,203,149,41],"16501202",[214,38,41,215,210,41],"16503481","commenter\u002Fneutral\u002Fnone",[217,38,41,215,149,41],"16503796",[219,38,38,191,197,41],"16500988",[221,38,38,179,222,41],"16501070","lloeki",[80,38,46,189,81,41],[225,38,38,191,226,41],"16502513","nnq",[132,32,38,228,133,41],"project\u002Fmixed\u002Fdocs",[230,32,41,231,232,41],"16503668","other\u002Fneutral\u002Fdocs","thangngoc89",[234,32,38,235,236,41],"16503960","project\u002Fneutral\u002Fexecution","zploskey",[238,32,41,239,11,43],"16503990","maker\u002Fneutral\u002Fexecution",[87,46,38,179,88,41],[125,242,43,243,126,41],6,"project\u002Fcritical\u002Fexecution",[245,242,41,239,11,43],"16505122",[247,33,43,184,248,41],"16502261","dcbarans",[250,33,38,191,226,41],"16502476",[252,33,41,194,11,43],"16502504",[254,33,41,203,210,41],"16503491",[256,33,41,203,248,41],"16504091",[76,39,46,189,77,41],[91,34,46,259,92,41],"project\u002Fpositive\u002Fdesign",[140,261,38,262,141,41],10,"project\u002Fneutral\u002Fnone",[264,261,41,265,11,43],"16501124","maker\u002Fneutral\u002Fnone",[107,261,43,184,108,41],[111,268,43,184,112,41],11,[],[271,276,281,286,291,296],{"id":272,"name":273,"points":274,"category":275},"16535358","Mathpix",456,"ai",{"id":277,"name":278,"points":279,"category":280},"16490595","Graphite",330,"productivity",{"id":282,"name":283,"points":284,"category":285},"16521385","Hearth",315,"infrastructure",{"id":287,"name":288,"points":289,"category":290},"16529557","Investment Calculator",308,"finance_crypto",{"id":292,"name":293,"points":294,"category":295},"16513916","Emacs Anywhere",248,"dev_tools",{"id":297,"name":298,"points":299,"category":300},"16520955","Hacking a Mercedes GLA Class Ride-on kids car",221,"hardware",false,"v2",{"id":304,"name":5,"line":6,"ai":301,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":305,"top":18,"kw":306,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":307,"url":9,"mix":308,"praise":68,"objection":96,"sub":21},16500481,-0.17,[24,25,26,27,28],"0301153101010300003353303031013000553011",[32,33,32,34],1794036563889]