Comments (5)
I think the samples changing is not a big deal. People will file an issue and we can fix or remove.
I don't think we don't want to rehost them (which might include having to build and maintain their build infra). I suppose you meant to pin their live repo (eg gh-pages) as a submodule but that would mean having to review updates often if they're iterating on their sample.
from webgpu-samples.
Put up a PR. It works. Thoughts?
It's not clear to me if linking to external examples a good thing or not. I think Brandon's examples are great but I once you set the example of linking to external examples then everyone will want their sample included. Maybe that's a good thing though?
Note: the PR also tries to grab the source which works for spookyball but there's many files (didn't list them all. Just wanted to see if it worked). We could not show any source, or show something else (link to article/github).
@kainino0x @toji @beaufortfrancois @Kangz @austinEng
from webgpu-samples.
It's not clear to me if linking to external examples a good thing or not. I think Brandon's examples are great but I once you set the example of linking to external examples then everyone will want their sample included. Maybe that's a good thing though?
I was thinking that's probably a good thing. Right now we have people wanting to add samples to this repo which means we have to take on some maintenance burden. Easier if we can link to them. The number of links will probably get pretty big though, so maybe external samples would be a separate section in the sidebar.
That said, it occurs to me that linked samples could change underneath us - disappear, break, or even get replaced with malicious content.
A middle ground could be to accept samples as Git submodules so we're pinned to a revision?
from webgpu-samples.
I agree that we don't want to re-host any content. It does open us up for some minor unexpected breakage, but the maintenance burden otherwise is going to be pretty high and driven by external forces.
from webgpu-samples.
done?
from webgpu-samples.
Related Issues (20)
- Set up PR previews
- iframe change followup
- ERROR: GET /worker.js?service [404: does not exist] HOT 2
- Missing redirect HOT 1
- Add a simple search filter
- Add page icon to index.html
- Add social media meta info
- Can't run Hello Triangle sample on Linux HOT 3
- Add light/dark support to samples and menus
- Textures not working in certain samples HOT 4
- Re-add scrolling tabs HOT 1
- ViewSource button appears non-functional on Chrome Version 122.0.6261.112 (Official Build) (arm64) HOT 6
- a-buffer broken in light mode
- Indirect Draw Call Sample HOT 3
- When uploadvideo type is ogv, importExternalTexture report error HOT 4
- Don't throw on unknown messages HOT 4
- The "find" functionality is broken on desktop. Makes it hard to navigate the code. HOT 4
- computeBoids setting wrong index for vertex buffer? HOT 2
- A few minor issues in imageBlur HOT 2
- A-buffer causes timeout on AMD integrated graphics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgpu-samples.