Git Product home page Git Product logo

Comments (6)

nickcam avatar nickcam commented on May 30, 2024

That's odd. There's a element that should resize to the size of the screen, this is where the particles are drawn. Go into your browser debugging tools and make sure the canvas is sized correctly, ie: the width and height style properties are being set correctly.

If they're not, should be pretty easy to find where they're getting set and why they're not updating. I can't remember exactly where that's happening sorry.

from animatedenvironmentlayer.

Shruthi48 avatar Shruthi48 commented on May 30, 2024

The canvas width and height is getting set properly but I wasn't able to figure out why isn't the animation drawn on entire canvas. The issue is in the demo url - http://animatedenvironmentlayer.azurewebsites.net/index.html

from animatedenvironmentlayer.

nickcam avatar nickcam commented on May 30, 2024

Oh right, I don't get the problem when I view the demo page. I've tried it in Chrome and Firefox. What browser are you using?

from animatedenvironmentlayer.

Shruthi48 avatar Shruthi48 commented on May 30, 2024

I'm using chrome , its the same when I open it on safari

Screenshot 2021-08-12 at 2 50 48 PM

firefox too
Screenshot 2021-08-12 at 3 09 06 PM

from animatedenvironmentlayer.

sanketkardile avatar sanketkardile commented on May 30, 2024

@Shruthi48 did you solved this issue?

from animatedenvironmentlayer.

nickcam avatar nickcam commented on May 30, 2024

This was related to window.devicePixelRatio being greater than 1. Have catered for this in the latest commit.

from animatedenvironmentlayer.

Related Issues (9)

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.