跳过导航
Liquid Layers now released at with new features!
0:00 / 1:05

Liquid Layers now released at with new features!

Grant Kot

@kotsoft8553 位关注者

在 X 上查看
656 个赞下载原帖

30,572 次观看

Liquid Layers now released at with new features! Adjust brush size by scrolling, attract/repel with A/R keys, tweak simulation parameters. Also accelerometer and gyro support on mobile (yup this demo works in your cell phone browser!).

11 条评论

评论来自 X (Twitter) 上的原帖

  • Peter Schmidt-Nielsen 的头像

    @ptrschmdtnlsn

    This is really fun. This took like 15 minutes; a "you win" screen would be hilarious if someone else is silly enough to do this.

    4 个赞

  • Davay 的头像

    @davay42

    Wow! That’s quite a progress! I still didn’t find a cross platform way to read accelerometer data in the browser. Glad to see it’s possible!

    2 个赞

  • Grant Kot 的头像

    @kotsoft

    Thanks! I think the trickiest is just for apple devices you have to request for device motion permissions

    3 个赞

  • Germanunkol | Where Beasts Were Born 的头像

    @germanunkol

    Wow, I totally missed that this is available to try out! Love the demo, runs really smoothly on my Ubuntu. Very cool stuff!

    1 个赞

  • jorge 的头像

    @thejorgg

    damn I had one app called fluid on my phone which is slightly similar but I'm still extremely impressed! this is so cool and it also performs WAY better great job :)))

    1 个赞

  • Grant Kot 的头像

    @kotsoft

    @R0gerFK Thanks! If it was Windows Phone, I did have an app on there called Fluid. I also had a fluid simulation app on iOS.

    1 个赞

  • Zhuowen (Nero) Cui 的头像

    @zhuowencui

    Great work! Runs great in Chrome, but for some reason @MicrosoftEdge runs 3FPS. I checked the requestAnimationFrame function seems to be throttled to run only twice /s, but couldn't figure out why. I have a desktop machine and turned off all efficiency mode...

    1 个赞

  • N i m a t a 的头像

    @theKojiKabuto

    top top top

    1 个赞

  • Scott Richmond 的头像

    @ScottTRichmond

    Extremely cool mate! Do you plan to open source any of this?

    1 个赞

  • 木十 的头像

    @MuntenS

    Looks good. Is the difference in color a difference in mass?

    1 个赞

  • Grant Kot 的头像

    @kotsoft

    Yeah, each is a different material ID in the simulation. I have updated the demo so that people can change the colors and the mass of the different materials.