Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMG This is AMAZING. Game Changing. Is it possible to Beazer some parts of the line. #37

Open
xtianus79 opened this issue Feb 8, 2023 · 3 comments

Comments

@xtianus79
Copy link

xtianus79 commented Feb 8, 2023

So first, off this plugin is game changing. To me this is something that could compete with D3 in a way, I think.

Here are some pics of a quick script I did to test it out for my use case. I don't have to tell you what this would of looked like without this. It's just what I need. Except for 1 thing. I don't need to remind you what that looks like without this plugin.

However, you'll notices that the lines that break in-between the amplitudes that "arc" are at an angle and it would be great if those could curve. will BiezerTo and QuadracticTo also work here?

download (1)
download

@ivanpopelyshev
Copy link
Contributor

ivanpopelyshev commented Feb 8, 2023

Thank you!

the lib was made for plots, and was made as improvement of https://github.com/gameofbombs/pixi-candles

Unfortunately, i didnt have time to make better geometrization of curves, so you have to tune curves params for your case. As for doing curves on shader, well, i had that idea too but.. time. I'm super-busy, and I'm grateful that @dev7355608 takes care about the lib )

UPD. This was the first analytic AA solution for webgl lines, second one belongs to https://github.com/rreusser/regl-gpu-lines

UPD2. Here's khronos talk: https://www.youtube.com/watch?v=it6FkEzPUGY&t=840s

@xtianus79
Copy link
Author

HI @ivanpopelyshev thanks. Just to be clear will the Graphics() class properties of quadtracticLineTo and BiezerLineTo should work as expected? I will play again tonight and post results. Just wanted to make sure the expectation should be there.

@ivanpopelyshev
Copy link
Contributor

Yes, that's right, I have PTSD after trying to make plot-lib, API's of modern plot libs is that bad. Hope someone can take my results and continue it further :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants