Giter VIP home page Giter VIP logo

dist-illust's Introduction

dist-illust

Build Status

画像の一括生成、管理用リポジトリ。

目的

画像の生成、管理のコストを抑えること。主に自分用。

できること

resources配下の差分画像を順に重ねていくことで、 立ち絵画像を自動生成し配布用のファイル構成にパッケージングすること。

昔に書いたイラストはすでに元になる画像ソースが残っていないことや ソースの画像のサイズが小さかったりして自動生成に使えないものがある。 自動生成できないもの(001〜019と025, 026)はすでに配布用に生成済みのもののみをリポジトリで管理している。

前提条件

以下のツールが必要である。

  • imgctl 自作の画像生成用のツール
  • zip 配布用にzip圧縮するためのコマンド

使い方

  • 依存ツールのインストール: make setup
  • 生成 make actorXXX
  • 全部生成 make all

リリース作業

  • resourcesに差分画像を配置
  • Makefileにresourcesのフォルダ名と同じタスクを作成
  • git push
  • GitHubの画面から新しくタグを追加
  • GitHub Actionsのデプロイタスクが走って自動でデプロイされる

アクター一覧

Actor001〜Actor010

Actor001〜Actor010

Actor011〜Actor020

Actor011〜Actor020

Actor021〜Actor030

Actor021〜Actor030

Actor031〜Actor040

Actor031〜Actor040

dist-illust's People

Contributors

jiro4989 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dist-illust's Issues

表情一覧画像の自動生成

サムネイル一覧を自動生成できるようにしたい。
READMEに載っけておきたい。
トリミング済み画像から切り出せばいけそう

dist/.gitkeep

これリポジトリに残しておく意味がないな・・・

リリースをCI経由で行えるようにする

スクリプトでリリースを自動化したけれど、全部リリースにはなんだかんだやっぱり時間がかかる。
ビルドを走らせている間はCPU使用率が400%はりついて他の作業に影響がでる。
タグを切ったら自動で全リリースできるようにする。
合わせてMakefileのallタスクも、今ではいちいちタスク名を手動で追加していたのを手動修正不要に改良する。

  • タグをきれば自動リリース
  • make allのタスクを修正

LICENSE.htmlをscrapboxの方へ誘導する

最新の利用規約を適用するのであれば
最新の1つの利用規約に誘導したほうが良いだろう。

静的HTMLファイルだと配布タイミングによって差分が出来得る

リリースの高速化

徐々に画像生成にかかる時間が伸びてきている。
30分超えるようになったら並列化を検討する。

  • actor001 ~ actor019 + actor020
  • actor021 ~ actor025
  • actor026 ~ actor030
  • actor031 ~ actor035

みたいに、5刻みで並列化すれば良いのでは

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.