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 7431073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:14:18+00:00 2026-05-29T09:14:18+00:00

As a learning project I’m attempting to re-create the procedurally generated hills from Tiny

  • 0

As a learning project I’m attempting to re-create the procedurally generated hills from Tiny Wings using the HTML5 canvas. My goal is to generate textures like the hill in this picture:

Tiny Wings Screenshot

Thus far, I have a seamless repeating texture that I’ve generated. It looks a little like this:

Procedural Image 1

As you can see, this is part way there, however in Tiny Wings, the sinusoid patterns are often rotated on an angle. My question is this: Is it possible to take a seamlessly repeating pattern, rotate it, then clip it to a rectangle and still have a seamlessly repeating pattern?

I originally thought this was trivial, that any rotated repeating pattern clipped to it’s original dimensions would still repeat. However my investigations lead me to believe this is not the case.

If what I’m describing isn’t possible, how would I use a rotated version of the image I have generated as the pattern / fill for a shape? So far the only solution I can think of is to use a canvas clip region. Are there any other ways to accomplish this?

Related Questions:

  • html5 canvas shapes fill
  • HTML5 Canvas – Fill circle with image
  • 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-29T09:14:19+00:00Added an answer on May 29, 2026 at 9:14 am

    To achieve what is in the image from tiny wings using the shape(texture) you supplied.

    1. draw your texture-shape vertically to screen (it looks like it has been skew’ed not rotated)
    2. apply a few semi-transparent hill shaped lines with a wide stroke width to create the phong shading effect.
    3. clip the texture-shape with the shape of the hill.
    4. apply a semi-transparent grunge texture to the whole canvas.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey, I received an learning project from my brother that includes: Create a Drupal
I'm using MapXtreme 2008 v7 for a learning project, and was wondering is there
I've been trying to create a sound library as a learning project. I get
I'm considering a personal learning project. Using .NET(preferably VB) I want to build a
I'm attempting to make a TinyURL clone in ASP.NET MVC as a learning project.
So I am working on a learning project and I am trying to create
I have install ZendFramewrok with instruction on: http://framework.zend.com/manual/en/learning.quickstart.create-project.html and when I try to run
I am attempting to write a simple WPF learning project which creates a set
So I'm working on just a learning project to expose myself to doing some
I'm currently working on a semantic web e-learning project. I've made an ontology 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.