weymouth / fluid-dynamics

Interactive fluid dynamic web applications.
MIT License
9 stars 4 forks source link

Scale Issues in Superposition #1

Open JohnCHarrington opened 6 years ago

JohnCHarrington commented 6 years ago

In superposition the grey streamlines and orange vector arrows appear at a much larger scale than the blue particles, and offset down and right. Screenshot attached. This issue occurs in Chrome, Firefox and Safari on my 13" Retina MBP.

screen shot 2018-09-06 at 13 29 14

The following warnings are showing in the console:

Loading failed for the <script> with source “https://weymouth.github.io/fluid-dynamics/superposition/libraries/p5.dom.js”. index.html:8
Loading failed for the <script> with source “https://weymouth.github.io/fluid-dynamics/superposition/libraries/p5.sound.js”. index.html:9
Use of the orientation sensor is deprecated. p5.js:9077:6
Use of the motion sensor is deprecated. p5.js:9077:6
weymouth commented 6 years ago

Thanks for the issue report. Unfortunately, I can't reproduce this error on my 13" MBA, or 27" Windows PC or Android phone. That's going to make it tricky for me to debug. I'll see what kind of issue have been reported by others using new Retina MBPs on processing...

JohnCHarrington commented 6 years ago

Are you seeing any of the errors in the console? I'm trying to work out if I've changed something as I used this functionality last year on the same machine with no such problems. (Or at least I believe I did, I suppose it is possible I only ever ran it on University computers, but I primarily use my laptop so that is unlikely.)

JohnCHarrington commented 6 years ago

Update: I am getting the exact same issue in Chrome on my iPhone 6S.

img_5234

JohnCHarrington commented 6 years ago

Further Update: I get the same thing on Microsoft Edge and Chrome in Windows 10, running both in Parallels on my mac and on a University PC here at DTU. (When I used this last year I was at Southampton, but I see no reason why being in Denmark should break it!)