项目作者: monoidcc

项目描述 :
🎨 A generative art app for iOS and Android. (storybook https://monoidcc.github.io/Cascade/storybook/ )
高级语言: TypeScript
项目地址: git://github.com/monoidcc/Cascade.git
创建时间: 2020-03-01T10:50:39Z
项目社区:https://github.com/monoidcc/Cascade

开源协议:MIT License

下载


Cascade

A generative art app for mobile

Google Play: https://play.google.com/store/apps/details?id=cc.monoid.cascade

Architecture

Tools/Frameworks

Cascade uses the following tools and frameworks.

Spec

Data format

Cascade has the following data types.

  1. type Box = {
  2. x: number; // the x of the box
  3. y: number; // the y of the box
  4. width: number; // the width of the box
  5. height: number; // the height of the box
  6. color: string; // the color of the box
  7. };
  8. type TextLabel = {
  9. body: string; // text body
  10. size: number; // text font size in px
  11. fontFamily: string; // text font family
  12. color: string; // text color
  13. shadowColor: string; // color of text shadow
  14. };
  15. type Artwork = {
  16. id: string;
  17. boxes: Box[];
  18. text: TextLabel;
  19. backgroundColor: string;
  20. createdAt: number;
  21. };

See https://github.com/monoidcc/Cascade/blob/main/src/domain/models.ts for more details.

License

MIT