mitsuyoshi-yamazaki / alifelab Goto Github PK
View Code? Open in Web Editor NEWALife / Generative Art Simulations
Home Page: https://mitsuyoshi-yamazaki.github.io/ALifeLab/
License: MIT License
ALife / Generative Art Simulations
Home Page: https://mitsuyoshi-yamazaki.github.io/ALifeLab/
License: MIT License
headタグを共通化するため
https://github.com/nfl/react-helmet
ページ構造
外向きに宣伝するのはgalleryなので優先する
- | アート | 研究 |
---|---|---|
index | 展示室風 | 量があるためカテゴリごとサブページを設ける |
detail | とにかく簡易にする | 最終的に簡易なペーパーにする |
前提として、恒常性をもつパターンを優遇するにはエントロピーの増加を実装しなければいけない
進行方向に進む際の種になる状態をAとしたとき、Aを伸ばす際に後ろ向きにもうひとつA'を出しておく
しかし後ろには自分の身体があるので実際にはA'は発現しない
ただし、前方に障害物がある場合は待っていれば身体が消滅するのでA'が伸びて新たに逆向きの身体をつくりだす
x 身体が消滅間際のときにはすでに"生きている"枝がないのでA'を伸ばせない
$ yarn test
) し、こけたらマージできないよう条件をつけるnはなにか
ルールによって変化させるパラメータで区別する
https://note.com/hogera/n/n3bdff52bfd55
現状ではconsole.logに出力している
局所的にはパターンをもち、大局的なパターンはないが紙面を埋めるようになっている
https://www.pinterest.com/pin/763852786779632329/
A→親1,親2
と生成する親1: A:-88,A,-152,A
(favorite)
親2: A:-12,A,25,A
(銀杏)
子: A:B,C;B:-88,B,-152,B;C:-12,C,25,C
A:4,A,154,B,-60,A;B:33,B
(角
子: A:B,C;B:-88,B,-152,B;Z:4,Z,154,Y,-60,Z;Y:33,Y
ECMAScript自体が仕様ごとにリリースされるため、ES何々はある時点でのスナップショットにすぎない。
そのため「ES何々をサポートするブラウザのバージョン」という概念はない
https://stackoverflow.com/a/61836170
→ targetをES6に設定し、それ以上のESverをトランスパイルさせる & 記述するESverをどこか(moduleかlib)で指定する
万華鏡のようなアートをつくる
実装してみたら楽しそう
広がってきたら独立issueにしてください
ルールの仕様は変わらないものの、人間の可読性と突然変異時の粒度を上げることができる
記述
A:X;B:X
X=A,B
↓
A:A,B;B:A,B
🤔 これではAとBはひとつの状態にまとめられるので意味ない
URLParameterParserのインスタンスをexportすればlayout.tsxで利用できそう
四分木nodeからオブジェクトを取り除くコードを書く必要がある
https://github.com/mitsuyoshi-yamazaki/ALifeLab/blob/main/src/simulations/drawer/model.ts#L73
Machines & TapesはRNAワールドを抽象化したものとして見ることができる
現在は世界に存在する物体はMachineだけだが、Machineを構成する要素とMachineの分解を導入すればよりプリミティブな系になるのではないか
QuadtreeNode
から .collisionCheckObjects()
を参照した方がオブジェクト数が減るline長はパターンの雰囲気を決める重要なパラメータであるにもかかわらず固定値となっているため、パラメータに組み込む
TODO
https://ja.wikipedia.org/wiki/放散虫 に画像が複数
https://bsapubs.onlinelibrary.wiley.com/doi/full/10.3732/ajb.1000154
no-shadowed-variable
を severity: error
に設定(TSLintでは設定が有効化しなかった
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.