HackerTrans
热门最新趋势评论往期问答秀出招聘

postpress

7 声望加入于 9年前

提交

Show HN: Block Garden - HTML Canvas WebGL sandbox and farming

kherrick.github.io
1 分·作者 postpress·6个月前·0 评论

Show HN: Sprite Garden - HTML Canvas 2D sandbox and farming

kherrick.github.io
3 分·作者 postpress·9个月前·3 评论

评论

postpress
·10小时前·讨论
这让我想到了模型通过 WebRTC 相互通信的实验:https://xt-ml.github.io/shadow-claw/

它有点像“P2P 网格”:-) 观看安全带的四个实例一起运行并协作检查天气:https://www.youtube.com/watch?v=h1les1A3gcg
postpress
·5个月前·讨论
Even at only v1, along with the "don't break the web" mentality, Web Components are an extremely important stepping stone. We should cheer the implementers of these proposal on and help!

We can now render whatever content we want confidently, inside of other apps. Less than an iframe, but enough isolation (or not if you want) with all of the important benefits of being baked into the current document.

Example: https://kherrick.github.io/block-garden/

Same custom element running inside Angular: https://kherrick.github.io/apps/playground/block-garden
postpress
·7个月前·讨论
This is a very cool project. https://avatars.githubusercontent.com/u/3065761
postpress
·9个月前·讨论
Screencast automating the player from DevTools -: https://gist.github.com/kherrick/d73f2245e704f9e5465b08c3e4e...

Example source automateSpriteGardenFullscreenDig.js - https://gist.github.com/kherrick/7f8cc9d7bfdc9a6951657df8f13...
postpress
·9个月前·讨论
I've tested https://kherrick.github.io/sprite-garden/ by pressing, "W", "↑", or "space bar" to get started moving in the game. Afterwards the other functionality seems to work as expected in Firefox on Linux with the following versions:

- 140.3.1esr (64-bit)

- 143.0.4 (64-bit)

- 145.0a1 (2025-10-02) (64-bit)

Are you able to describe what issue you are seeing in particular?