[Interest] Simulate Android CircularReveal with Qml

Majid Kamali majidkamali1370 at gmail.com
Tue Apr 11 14:54:28 CEST 2017


Hi.
How can I create CircularReveal [1] in Qml?
I tried using both OpacityMask and ShaderEffect, but with no luck.
Using CircularReveal2, transition is not circle but an ellipse, because
width and height of Item are not equal.
Using CircularReveal3, OpacityMask is anchored in Item and quality of item
is improved over time.

Thanks

[1] : https://github.com/ozodrukh/CircularReveal/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170411/c8e35af0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.qml
Type: text/x-qml
Size: 802 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170411/c8e35af0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CircularShader.qml
Type: text/x-qml
Size: 1700 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170411/c8e35af0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CircularReveal3.qml
Type: text/x-qml
Size: 859 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170411/c8e35af0/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CircularReveal2.qml
Type: text/x-qml
Size: 351 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170411/c8e35af0/attachment-0003.bin>


More information about the Interest mailing list