PrayerWheel icon indicating copy to clipboard operation
PrayerWheel copied to clipboard

HK

Open dy opened this issue 6 years ago • 5 comments

Would be nice to have Hare Krsna mantra wheel version too!

Or to have shloka of the day.

dy avatar Sep 08 '19 02:09 dy

Seems there should be a canvas-based texture generation for the wheel and yeah, some sets of prayers to be able to choose from

PixelsCommander avatar Sep 12 '19 12:09 PixelsCommander

@dy I have a bit more time now to develop the project. The question I have is - would changing text be enough for you? Or the texture of the wheel should be altered?

I am thinking of passing texts as URL param so there can be a "wheel builder" producing a link you can share with your community.

PixelsCommander avatar Feb 03 '22 09:02 PixelsCommander

Configurable by URL wheel - genious. Would be awesome to be able to generate texture from

हरे कृष्ण हरे कृष्ण कृष्ण कृष्ण हरे हरे | हरे राम हरे राम राम राम हरे हरे ||

Because that's hard to manually create right fit. I am sure building a project like that adds a special credit to karma.

dy avatar Feb 03 '22 11:02 dy

Mb this can be helpful https://github.com/dy/font-atlas-sdf

dy avatar Feb 03 '22 12:02 dy

Just found that there's better tool for bitmap sdf (offtop) https://github.com/LingDong-/wasm-fun/blob/master/wat/disttransform.wat

dy avatar Feb 06 '22 01:02 dy