Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6753605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:10:53+00:00 2026-05-26T13:10:53+00:00

(This question could be better off on math, but im not sure) https://i.stack.imgur.com/ujPJG.png This

  • 0

(This question could be better off on math, but im not sure)

https://i.stack.imgur.com/ujPJG.png

This is probably very simple but the way I’m thinking of doing it doesn’t seem very easy and there must be a simpler method.I’ve got an image and I want to find some points that fall on a line so in this example image below the starting point of my line is (39,75) and the ending point is (75,142) from there I want to find 5 points (or any number really 5 is just an example) that are all on that line.

Is there some equation I can use that will get me a certain amount of points given any start and end coordinates?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:10:53+00:00Added an answer on May 26, 2026 at 1:10 pm

    Yes. Your line segment can be described by this equation:

    x = 39 + t * (75 - 39)
    y = 75 + t * (142 - 75)
    

    where, t can take on any value between 0 and 1.

    So, to get random points on the line, just choose a random value for t (between 0 and 1), and calculate what x, y are.

    The idea is, x is traveling from 39 to 75, while y is traveling from 75 to 142, and t represents the fraction of travel that has been completed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off I'm not sure that's the proper title for this question but hopefully
This question could be a can of worms, but I've always wondered if it
I was asked this question and could not come up with the answer. Is
This question is related to Java Refuses To Start - Could Not Resrve Enough
This question is related to my ASP.NET MVC 2 development, but it could apply
I could not find a clear answer to this question elsewhere, so I'll try
This question has been asked before, but the answered ones I could find were
First off, apologies if this question has been asked before but I couldn't find
I suppose this question could just as easily be applied to PHP with regard
Introduction: Now I know this question could be very broad and it would be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.