Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions regarding generation of text #2

Open
DonaldTsang opened this issue Jul 19, 2019 · 2 comments
Open

Questions regarding generation of text #2

DonaldTsang opened this issue Jul 19, 2019 · 2 comments

Comments

@DonaldTsang
Copy link

  1. How does it work? it seems that if, for example, you repeat "ナ" more and more, a pattern would emerge but it doesn't (except the background, in this case it turns into "bars" instead of a bulls eye)
  2. Is is possible to rewrite this as a Python or JS program?
  3. Is it possible to allow for newlines and such to exist? Such that multi-row text can work?
@LzxHahaha
Copy link
Owner

  1. Sorry I didn’t understand this question, but you can find all the code in src/lib directory, there is only a little code need to read;
  2. It’s write by typescript, so it can easily to rewrite by js, but need to make some changes because canvas use one-dimensional array to save image;
  3. Of course it can.

@DonaldTsang
Copy link
Author

DonaldTsang commented Jul 19, 2019

  1. Try typing "ナナナナ...ナナナ" with as many "ナ" as possible, the pattern would repeat. (and as you add more characters the bullseye/dart board background looks more like straight lines rather than arcs)
  2. That is good to know
  3. For that one the demo-site does not allow for it, disappointingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants