Hey @mcaaaalvo – people can give you advice, especially if you have example code you wrote and are stuck, but please do not ask for complete code solutions . See:
https://discourse.processing.org/faq#homework
A recent related discussion about bicorn curves:
Hi everyone!!!
I’m new at coding and I have a problem, I would like to draw a program where there is a bicorn curve and every time the mouse is on the curve, it can be generated a tangent line, so on infinite points, but for now I just have the static drawing but I don’t know how to generate a tangent line on the curve as the mouse move…
This is all I have for now
void setup(){
size(500,500);
}
void draw(){
background(0);
translate(width/2, height/2);
noFill();
stroke(255);
…
1 Like