diff --git a/CREDITS.md b/CREDITS.md index d73b586..bf0b23f 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1,6 +1,6 @@ # クレジット(画像・動画) -## Parrot.jpg(`docs/assets/images/Parrot.jpg`) +## Parrot.jpg(`web/assets/images/Parrot.jpg`) - 作者:**Contributor50**(Wikimedia Commons ユーザー) - 出典:https://commons.wikimedia.org/wiki/File:Parrot.jpg - ライセンス:**CC BY-SA 4.0**(https://creativecommons.org/licenses/by-sa/4.0/) diff --git a/README.md b/README.md index 3063ba1..b129d6f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ | 元画像 | 貪欲法の可視化アニメーション | | ------------------------------------------------------------------ | -------------------------------------------------------------- | -| 元画像 | 貪欲法の可視化 | +| 元画像 | 貪欲法の可視化 | ## 使い方 @@ -67,8 +67,13 @@ python -m http.server ## ライセンス -- **コード**:**MIT License**(`LICENSE` を参照) -- **メディア(デモ用画像・動画)**:**CC BY-SA 4.0**(`CREDITS.md` および `assets/licenses/` を参照) +- **コード**:**MIT License**([`LICENSE`](./LICENSE) を参照) +- **メディア(デモ用画像・動画/GIF)**:**CC BY-SA 4.0** + 詳細は [`CREDITS.md`](./CREDITS.md) および [`docs/assets/licenses/CC-BY-SA-4.0.txt`](./docs/assets/licenses/CC-BY-SA-4.0.txt)を参照 + +### メディア配置 +- 画像(デモ用画像):`web/assets/images/` +- GIF(README 用):`docs/assets/gifs/` ## 参考資料 / 謝辞 diff --git a/docs/assets/licenses/LICENSE-CC-BY-SA-4.0.txt b/docs/assets/licenses/LICENSE-CC-BY-SA-4.0.txt index 5ce15e0..7f68f15 100644 --- a/docs/assets/licenses/LICENSE-CC-BY-SA-4.0.txt +++ b/docs/assets/licenses/LICENSE-CC-BY-SA-4.0.txt @@ -1,4 +1,6 @@ -This repository includes media licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. +This repository includes media licensed under CC BY-SA 4.0. +Demo GIFs are under docs/assets/gifs/. Original images used by the web app are under web/assets/images/. +The CC BY-SA terms apply to all media listed in CREDITS.md, regardless of location. Full legalcode follows (verbatim from Creative Commons). https://creativecommons.org/licenses/by-sa/4.0/ diff --git a/docs/assets/images/Parrot.jpg b/web/assets/images/Parrot.jpg similarity index 100% rename from docs/assets/images/Parrot.jpg rename to web/assets/images/Parrot.jpg diff --git a/web/js/script.js b/web/js/script.js index 8e7fb95..c5bc874 100644 --- a/web/js/script.js +++ b/web/js/script.js @@ -91,7 +91,7 @@ async function onFileChange() { } async function fetchDefaultAsFile() { - const resp = await fetch("./../docs/assets/images/Parrot.jpg"); + const resp = await fetch("./assets/images/Parrot.jpg"); const blob = await resp.blob(); return new File([blob], "Parrot.jpg", { type: blob.type }); }