Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Task: repeated SVG background changing border color every x seconds

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #184849
    Arthoc
    Participant

    Hey guys,

    I’m really having trouble in doing research and describing my task, so please excuse me if it seems to be a bit unclear.

    I have a svg like this: Octagon. I want to set that as a repeating background in my navigation.

    After that, I want to target every hexagon separately and change their border-color (for svgs: stroke) with JS every x seconds, e.g. once a minute. In addition, I want to change the colors with a transition like a gradient, e.g. a color-gradient like this.

    Is this possible? Can sth like this be done without performance issues? Could this even be responsive with scaling octagon-tiles when decreasing the viewport?

    #184854
    Paulie_D
    Member

    Is this possible?

    Probably

    Can sth like this be done without performance issues?

    No

    Could this even be responsive with scaling octagon-tiles when decreasing the viewport?

    Probably

    Ok…off you go.

    :)

    #184856
    Arthoc
    Participant

    I never mentioned that it would be easy ;-)

    Any (maybe more useful) tips on how to get started? Especially regarding the JS animation and affecting the separate strokes…

    #184857
    Paulie_D
    Member

    Unfortunately, we’re not that kind of forum.

    We’re a ‘help you fix an issue’ kind of place…not a tutorial or ‘write it for you’ place.

    Google will get you started..or a quick search here for SVG

    https://css-tricks.com/search-results/?q=SVG

    #184861
    Arthoc
    Participant

    Unfortunately, we’re not that kind of forum.

    That’s okay, don’t worry. I never wanted someone to write it for me :-)

    Anyway, I’m coming back when I got more progress on this one – thank you so far and have a good one!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.