question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Offset for Depth?

See original GitHub issue

Issue Description

Hello,

I was wondering if we can set up offset for the degree at type “depth”/“depth_inv”?

As example if I set offsetY to “0.5”: If the image is center of the screen, then it should show 0deg at rotateX. If the image is top of the screen, then rotateX should go in positive value and if its bottom, then it should go to negative value.

Example usage:

          <kinesis-container event="scroll">
            <kinesis-element :strength="40" type="depth" axis="y" offsetY="0.5">
              <img src="https://via.placeholder.com/600x400"/>
            </kinesis-element>
          </kinesis-container>

Thanks,

Yan

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Aminermancommented, Mar 24, 2020

Hello Yan,

Thank you for your question. Actually the feature was available but wasn’t active for the scroll event. I fixed it and created a Codesandbox so you can play around with it and confirm that I understood your issue and that it solves it.

So, to explain instead of offsetY the prop is called originY. It might be a bit counter-intuitive. But what it means, basically, is that when :originY=50, your element will be displayed at its initial (original) state when in the middle of the screen, and the transformations will happen when above or under 50 symetrically.

You’ll need the 1.1.5 version in order to be able to use this fix.

0reactions
YanDevDecommented, Mar 25, 2020

Sure, I may have some ideas which I may create new issue for that. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Keel Offset - Garmin Customer Support
The Keel Offset function adjusts the digital depth readout to display depth readings from either the waterline or from the keel (lowest point)...
Read more >
Humminbird HELIX How To: Digital Depth Offset - YouTube
This video will show you how to adjust the digital Depth Offset in the Setup Menu on your Humminbird HELIX. Depth is measured...
Read more >
Depth extraction with offset pixels - Optica Publishing Group
In detail, for every row the centers of the odd pixels apertures are offset from the centers of the even pixel apertures. This...
Read more >
Speaking of Depths… | Tradewinds Sailing Blog
If the 'offset' is -4, (8′ minus 4′), the instrument reads 4′, or depth below keel. If the offset is +2, (8′ plus...
Read more >
Understanding the off set on my depth finder? - Club Sea Ray
The concept is simple, the location of the transducer face is zero. The distance from the face to the waterline is a positive...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found