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

[Task]: Change node shape to circle #1276

Closed
begonaalvarezd opened this issue Mar 8, 2024 · 0 comments · Fixed by #1284
Closed

[Task]: Change node shape to circle #1276

begonaalvarezd opened this issue Mar 8, 2024 · 0 comments · Fixed by #1284
Assignees

Comments

@begonaalvarezd
Copy link
Member

begonaalvarezd commented Mar 8, 2024

Task description

Change node shape to circle

    const nodesFS = [
        "precision mediump float;",
        "varying vec4 color;",
        "void main(void) {",
        "   vec2 center = vec2(0.5);",
        "   float radius = 0.5;",
        "   if (length(gl_PointCoord - center) < radius) {",
        "     gl_FragColor = color;",
        "   } else {",
        "     gl_FragColor = vec4(0);",
        "   }",
        "}"
    ].join("\n");
@panteleymonchuk panteleymonchuk linked a pull request Mar 14, 2024 that will close this issue
6 tasks
@panteleymonchuk panteleymonchuk self-assigned this Mar 14, 2024
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

Successfully merging a pull request may close this issue.

2 participants