Git Product home page Git Product logo

mandelbrot's People

Contributors

hsauro avatar penavon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mandelbrot's Issues

Time for each

If you want to test for time
Add time to your demo

Rendering Mandelbrot with Skia4Delphi and GPU

Hello @hsauro! How are you? I'm glad you're using the library.

I came here because I would like to add a note:

This madelbrot test does not reflect the actual speed of Skia4Delphi, in fact, it is only measured reading and writing pixels. The fastest way to draw a madelbrot is to use the GPU as the Skia backend. We haven't done any examples of how to use GPU in Skia backend in VCL version yet, but we did in FMX version.

So, based on Skia4Delphi for FMX (which renders with the GPU), I made a small demo of how fast this drawing can be using Skia4Delphi v3+: mandelbrot.zip

Results:

Description Time
First mandelbrot draw 57 ms
Subsequent mandelbrot draws 1 ~15 ms

The first draw is slower as there is a GLSL compilation and code initialization on the GPU. The next draws are much faster, even after resizes (which would rule out the internal cache hypothesis).

Here's the video:

20.02.2022_17.38.11_REC.mp4

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.