rsalmei / alive-progress

A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
MIT License
5.53k stars 206 forks source link

How about adding color, rainbow? #65

Closed hongquan closed 3 years ago

hongquan commented 3 years ago

I found that this library is pretty cute, make me laugh at first glance. Do you have plan to add color, rainbow to the progress bar also?

rsalmei commented 3 years ago

Hey man, thank you I think πŸ˜‚.

Yeah, I do think about adding colors, but it's way more difficult than it seems to... I've described a little what it takes to implement that, take a look: #49 You'll see it's very very hard.

I am working on another big feature for about 6 months, to support grapheme clusters like these!! So It's at least a little colorful πŸ˜„:

    balls = scrolling_spinner_factory('πŸ€πŸˆπŸ‰πŸπŸ“βšΎοΈπŸ₯Žβš½οΈπŸ§ΆπŸŽΎπŸŽ±', 3, 1)
    flora = bouncing_spinner_factory('πŸŒ±πŸŒ²πŸŒ³πŸŒ΄πŸŒ΅πŸŒΎπŸŒΏπŸ€πŸπŸ‚', 8)
    fruits = bouncing_spinner_factory('πŸŽπŸπŸŒπŸ‹πŸŠπŸ‰πŸˆπŸ‡πŸ…πŸ“πŸ’πŸ‘πŸπŸ', 10, hide=False)
    flowers = bouncing_spinner_factory('πŸ’πŸŒ·πŸŒΈπŸŒΉπŸŒΊπŸŒ»πŸŒΌ', block=3)
    elements = bouncing_spinner_factory(('πŸ”₯πŸ’¨', '🌊⚑️'), 6, 2)

I should release it soon in the 2.0, more info in #51

hongquan commented 3 years ago

Thanks.