Giter Site home page Giter Site logo

Comments (8)

kasvith avatar kasvith commented on June 26, 2024 1

Workaround

One possible solution is to make rain drops disappear from the array itself after hitting the bottom of screen.

This can be done via an event, if this is possible i suggest you to stop creating new rain drops but use instead ones already in list to gain perfomance

from animtrap.

sanjayaharshana avatar sanjayaharshana commented on June 26, 2024 1

yeah.I'll admit that a lot of div tags is getting up here. I am going to be removed now.

from animtrap.

sanjayaharshana avatar sanjayaharshana commented on June 26, 2024 1

yeaah..that's a cool idea.

from animtrap.

kasvith avatar kasvith commented on June 26, 2024

What about the workaround i mentioned?

from animtrap.

kasvith avatar kasvith commented on June 26, 2024

So what i mention is to render the div differently wrapped with an event

For example look at this

from animtrap.

sanjayaharshana avatar sanjayaharshana commented on June 26, 2024

We used to try to reduce javascript frequently some animation effect. so I will remove demo page rain effect and this code too.

from animtrap.

kasvith avatar kasvith commented on June 26, 2024

Well we need JS for create this, i suppose there is a CSS way for this. But it wont be supported by all browsers

Look at this

from animtrap.

kasvith avatar kasvith commented on June 26, 2024

Issue is still there

from animtrap.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.