jcklie / anki-maobi

máobĭ (毛笔) is an Anki add-on to create cards with writing quizzes for Hanzi (Chinese characters)
MIT License
47 stars 7 forks source link

Manual query and generate Looping Animations #19

Open VimWei opened 4 years ago

VimWei commented 4 years ago

Could you please add or recreat a feature just like another anki-addon “Word Query”:

Manual query from a configurable field,and generate a “Looping Animation”.

So, I can embed the “Looping Animation” to any deck's any cards, but not all cards.

jcklie commented 4 years ago

Thank you for the request! How do you imagine would the card in the editor then look like? I would just imagine that you have a field configured, if it is filled then I insert the looping animation to a HTML tag you added in the template.

VimWei commented 4 years ago

I imagine the configurations Look like:

  1. which field query from?
  2. which field would stroke insert to?
  3. stroke style (if we have multi styles): (1)“Loop animation” (2)“stroke fanning visualization”

But i don’t understand what’s the role of “a HTML tag you added in the template”. What’s the relationship between the HTML tag and the configuration no.2?

jcklie commented 4 years ago

I added a prototype. You can see it here. Is this what you envisioned?