Git Product home page Git Product logo

Comments (5)

mjohnston avatar mjohnston commented on June 12, 2024

Great idea. The first prototype actually did run as an iOS app inside Ejecta. I would love to pick this up again at some point.

from react-canvas.

darkyen avatar darkyen commented on June 12, 2024

or Ludie's Cocoonjs (they support things written on canvas out of the box)

from react-canvas.

imaffett avatar imaffett commented on June 12, 2024

The WKWebView on iOS should perform well enough (no need for Ejecta). You should check out https://crosswalk-project.org/ for Android support.

from react-canvas.

mjohnston avatar mjohnston commented on June 12, 2024

Decoding images on the main thread is the biggest bottleneck to smooth scrolling. Something like Ejecta would allow it to be done in a background thread. Touch latency in browsers is still an issue as well, so native gesture recognizers would be a big win.

(The first prototype which ran in Ejecta was noticeably faster.)

from react-canvas.

mjohnston avatar mjohnston commented on June 12, 2024

See: https://github.com/mjohnston/react-canvas/tree/ejecta/examples/ejecta

The changes to run React Canvas inside Ejecta are pretty minor. If there's enough interest, I can see about merging this into mainline.

from react-canvas.

Related Issues (20)

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.