LIVE
Rumours that AI labs can break encryption run ahead of the evidence AI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System ICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies Startups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages Nvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales Dating App User Banned After Secretly Recording Dates for AI Analysis RuneScape Developer Jagex Urges Password Resets Following Security Breach Anthropic and OpenAI: how the enterprise AI race has shifted US Federal Cases Trace $974 Million in Banned Nvidia Hardware Rerouted to China Lawmakers to press Nvidia's Jensen Huang over alleged chip smuggling to China Rumours that AI labs can break encryption run ahead of the evidence AI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System ICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies Startups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages Nvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales Dating App User Banned After Secretly Recording Dates for AI Analysis RuneScape Developer Jagex Urges Password Resets Following Security Breach Anthropic and OpenAI: how the enterprise AI race has shifted US Federal Cases Trace $974 Million in Banned Nvidia Hardware Rerouted to China Lawmakers to press Nvidia's Jensen Huang over alleged chip smuggling to China

Bypassing iOS Safari's Limitations for Smoother Web Interactions

🤖 AI Models 1 min read 👁 13

Developers have found a way to bypass iOS Safari's 60 FPS limit, enabling smoother web interactions. This breakthrough could lead to more native-like experiences on mobile devices.

Bypassing iOS Safari's Limitations for Smoother Web Interactions🤖AI Models

Photo: Hacker News Front Page

Key points

  • Bypassing iOS Safari's 60 FPS limit
  • Using compositor and scroll events for smoother interactions
  • Achieving up to 90 unique position reads per second

A team of developers has discovered a method to overcome the 60 FPS limitation in iOS Safari, allowing for more seamless web interactions. By leveraging the power of the compositor and cleverly using scroll events, they were able to achieve up to 90 unique position reads per second.

Technical Details

The solution involves using a combination of techniques, including MessageChannel, setTimeout, and requestAnimationFrame, to read scroll positions synchronously and phase-locked to the device's refresh rate. This approach enables the extraction of native bounce, physics, and momentum, which can be applied directly to animations.

The developers encountered several challenges, including dropped positions due to Safari's UI process sending scroll positions one at a time. However, they were able to overcome this limitation by using an empty requestAnimationFrame loop to flush the position without waiting.

Source Hacker News Front Page — rida.dev/blog/bypassing-ios-safari-60-fps-limit ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.