Skip to content

Commit

Permalink
Fix issue with draw node
Browse files Browse the repository at this point in the history
  • Loading branch information
julien b 😺 committed Mar 9, 2024
1 parent fa143ad commit a827f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nodes/Draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const DrawNodes: Array<NodeDefinition> = [
var radius = context.getInputValueNumber(data, "radius");
context.target.noStroke();
context.target.fill(toP5Color(color, context.p5));
context.target.circle(position[1], position[1], radius);
context.target.circle(position[0], position[1], radius);
},
},
{
Expand Down

0 comments on commit a827f4e

Please sign in to comment.