Drawing a line between two words in the page? [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a page full of text with repetitive words, and I need to find a way to map the similar words together by drawing a line between them. (it doesn't matter if it crosses the word or if it goes around it).
What is the best way/library to do that using javascript/jquery?
The text is fixed, and the line drawing is the dynamic part. (depending on the word you choose).

Related

how to make a color selection line in hmtl [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to make a color sampler line as in the attached picture, but I don't know exactly how to do it, could someone do it or at least explain how to do it
You can use the following and You will develope your needs.
<input type="color">
You should look example video : Create Color Picker

make circle using 360 div in javascript [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
write a program to make a circle using 360 divs arranged to make circle using the javascript.
Hint:use absolute position and looping and don't use jquery.
You just have to do is,
Use the following CSS to do this
.div{
border-radius:50%
}

Detect colored dots in image with tracking js [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am trying to make a program to count the dots on all the dominoes in a picture, like this:
I want it to be a JavaScript function. I have tried to understand how to use tracking js with tutorials, but they're all abput face recognition. I only want it to detect colored dots and output how many of them are present in a picture. Is that possible in any way? Thanks for any help!
Yes you can by using some image recognition such as https://trackingjs.com/ or other.

How to make textarea lines auto direction line by line? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm having a problem with making textarea lines right-to-left for Persian and Arabic and left-to-right for English or others.
I can make the whole textarea auto direction but what about split lines of the text in textarea?
You could add atribute dir to your textarea element with value auto:
<textarea dir="auto"></textarea>
Now, browser will automaticaly detect text direction for each line.
Here is an example on JSFiddle

How to create physical circle in JS? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I suppose there are 5 circles in my div or canvas. I hope they are moving randomly on the screen. When they hit each other or the borders they are bounced away. How to achieve this effect? Are there any sample code or snippet? Cheers!

Categories

Resources