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

  • Home
  • SEARCH
  • 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 934189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:57:31+00:00 2026-05-15T20:57:31+00:00

I know how to move, rotate, and scale, but how does skewing work? what

  • 0

I know how to move, rotate, and scale, but how does skewing work? what would I have to do to a set of verticies to skew them?

Thanks

  • 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-15T20:57:31+00:00Added an answer on May 15, 2026 at 8:57 pm

    Offset X values by an amount that varies linearly with the Y value (or vice versa).

    Edit: Doing this with a rectangle:

    Let’s say you start with a rectangle (0, 0), (4, 0), (4, 4), (0, 4). Let’s assume you want to skew it with a slope of 2, so as it goes two units up, it’ll move one to the right, something like this (hand drawn, so the angle’s undoubtedly a bit wrong, but I hope it gives the general idea):

    alt text

    To get this, each X value is adjusted like:

    X = X + Y * S

    where S is the inverse of the slope of the skew. In this case, the slope is 2, so S = 1/2. Working that for our four corners, we get:

    (0, 0) => 0 + 0 / 2 = 0 => (0, 0)
    (4, 0) => 4 + 0 / 2 = 4 => (4, 0)
    (4, 4) => 4 + 4 / 2 = 6 => (6, 4)
    (0, 4) => 0 + 4 / 2 = 2 => (2, 4)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know how to move a layer based on touch. But I would also
Does someone know a fast way to add the ability to rotate and move
Does anyone know how to move the Solution Explorer tab in Visual Studio 2005?
I would like to know if it is possible to copy/move files to a
I know how to generally move around in command mode, specifically, jumping to lines,
I have a point at 0,0,0 I rotate the point 30 deg around the
Basically what I'm trying to do is have a picture rotate using mouse events.
Anyone know if it's possible to move the HomeController and Home related views into
I know that git provides the 'git rm' and 'git mv' to remove/move files
I know its probably possible, but is it practical and doable to try and

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.