Weird snow

It’s allmost Christmas and some may want to use Norm’s “Snow” bric.
So far so good.
But weird things happen when you preview your page with Safari and Orion.
The mouse cursor stutters. Not only on the browser but on the whole screen.
All good with other browsers.

Please try and confirm.

Have you reported this as a bug @Bootsie ?

I will tag @Norm in too so he can see this post.

I have not used the Snow bric yet but looks great and this is the time of the year !

1 Like

Did someone mention snow? I’ll get my sledge.

Ok I’ll take a look.

2 Likes

Just checked this out @Bootsie. It’s working fine here on some test sites running under Sequoia, in various browsers. Wonder if this is some kind of MacOS Tahoe issue?

I don’t have my laptop (running Tahoe) with me in the office, so I’ll check on that later today and get back to you.

I’m on Tahoe.

Can’t say anything about Sequoia.

1 Like

There are certainly (still) many (current) reports of Safari having issues, slow, sluggish, under MacOS Tahoe from users.

@Bootsie, are you maybe setting the count really high for the number of flakes?

Norm, there does not seem to be a restriction for max number regarding the input for the Bric, even in the updated version. Probably should be restricted within reason, at a minimum.

The library used (pure-snow.js) can have issues concerning performance regarding too many snowflakes (depending on user specs). It’s said to work in every modern browser, however it’s not an optimized approach that this library uses, quite the contrary actually.

So this and the present Safari issues under MacOS Tahoe could be coupled together to make it more obvious?

Using Canvas with various optimizations would be far more performant for such an effect, it could even include different counts across breakpoints as one optimization to lessen the load across various device sizes. The Confetti bric to snow idea might be a good idea, since its canvas.

Using the default setting (400) causing problems.
Even in Blocs preview the cursor is hardly to control.
When you reduce to 200 it’s far better.
100 looks like smooth mouse move.

MacOS 26.2 RC

MacBook Air with M2 - 16GB Ram running MacOS Tahoe 26.1 snow falls fine, cursor is also fine.

:confused:

I actually had, the Blocs previewing running with 2 views, and Safari running and it was fine.

On 13% battery, unplugged.

I’ll update to 26.2 and try again.

Hey @Bootsie what spec is your Mac? Which chip do you have?

MacMini M2, 8GB, 1TB SSD.
Tahoe 26.2 RC. Was the same with 26.1.

I think it’s a Safari/Orion thing.
All other browsers are fine.