Questions tagged [tiling]

Use this tag for questions about tessellations as well as figuratively the optimization technique of loop tiling.

175 questions
2
votes
1 answer

Tiling Algorithm

I'm faced with a problem where I have to solve puzzles. E.g. I have an (variable) area of 20x20 (meters for example). There are a number of given set pieces having variable sizes. Such as 4x3, 4x2, 1x5 pieces etc. These pieces can also be turned to…
Shine
  • 676
  • 6
  • 12
2
votes
1 answer

White vertical lines and jittery horizontal lines in tile map movement

I'm having trouble finding an answer as to why the tile sheets I am making for our tile maps create vertical white lines and jittery horizontal lines while moving around on screen, using libGDX. Here is a video showing the white vertical lines:…
Vin Breau
  • 269
  • 3
  • 17
2
votes
1 answer

Tiling a vector in a unique way MATLAB

Consider A = [ 200000 x 1] vector. I have another vector idx = [200000x1]. I would like to tile A such that every ith element of A is tiled idx(i) times. Eg: A idx output 2 2 2 3 1 2 4 3 3 5 1 4 . . 4 . . 4 . . …
enigmae
  • 349
  • 2
  • 10
2
votes
1 answer

simple background: tiling an image in a div

I am trying to do the simplest thing possible: tile a div with a subtle patterns background. I'm not new to code, but have never done this before. I have searched everywhere- simple examples posted by others do not work. Clearly there is a reason.…
2
votes
0 answers

Simple loop tiling example for matrix multiplication

I'm trying to understand what really happens (step by step) when I use loop tiling or blocking to multiply two matrices. F.e. I understand what the code on http://en.wikipedia.org/wiki/Loop_tiling does. However, I can't picture what happens within…
user3142067
  • 1,222
  • 3
  • 13
  • 26
2
votes
0 answers

threejs bump map scale/tiling

I'm trying to apply a bump map to a mesh imported at runtime, using Three.js. I can actually apply the bumpMap, but I need to specify the vertical and horizontal scaling for the map (somebody call it tiling). I saw that for bumpMapping there is only…
rastafermo
  • 408
  • 1
  • 5
  • 13
2
votes
2 answers

Tiling grid with 2 x 1 and 2 x 2 rectangles

I couldn't write the recurrence relation to a question like below. Given a rectangular grid, with dimensions 4 x n, how many ways are there to completely tile the grid with 2 x 2 and 2 x 1 dominoes? Here for 2 x 1 rectangles it is done greatly, but…
denizeren
  • 934
  • 8
  • 20
2
votes
1 answer

How to insert content in the middle of a page in a PDF using IText

I have a requirement to insert Content into the middle of the page in a PDF. The Content may be a Dynamic Table or an Image. My Concept was to first split the PDF into 2 parts, then get the new Content that is to be added and append by replacing a…
Fr_nkenstien
  • 1,923
  • 7
  • 33
  • 66
2
votes
1 answer

Kid-friendly tiling window manager

I am looking for a tiling window manager that will allow my daughter (4 yrs) to run ucblogo and display the turtle graphics at the same time. A little background: Ubuntu/Debian has a package ucblogo, which runs from the console or, graphically, from…
Christian
  • 1,212
  • 1
  • 15
  • 30
2
votes
2 answers

Three.js: tiling textures, buffering and browser compatibility

I am working on a project in html 5 canvas. For this I use the three.js library to draw some simple cubes in the shape of a simple cupboard. I have already added ambient lighting, anti-aliasing and textures. If all goes well it renders the cupboard…
Zypp
  • 47
  • 2
  • 8
1
vote
1 answer

Tiling images with PHP GD

I'm trying to tile multiple images, i.e. put one directly underneath another. They all have the same width (120px) and differing heights. This is what I have: $finalbg = null; for($i=0; $i<7; $i++) { $addbg =…
bur
  • 604
  • 5
  • 20
1
vote
3 answers

Reviews for programmable, tiling window manager ion3

I find the concept of the programmable, tiling, keyboard-focuessed window manager ion3 very appealing, but I think it takes some time to customize it to your needs until you can really evaluate this totally different UI-concept. Therefore, I would…
Weidenrinde
  • 2,152
  • 1
  • 20
  • 21
1
vote
1 answer

iPhone4 iOS5 custom history UITableViewCell [image included] is it possible?

I'm trying to add a way for my app to display data in an easily comprehensible form. I tried doing this with graphs, but found it to be a bit awkward, so I'm off to find a better solution. Here's a problem: I want to show up to 30 days of data, with…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1
vote
1 answer

Numpy.tile() "confusing" axes on sliced array

I have a 2D numpy array that I have retrieved by slicing a 3D rasterio data set (i.e. I retrieved the first raster band). Now, when I try to tile this 2D numpy array into a 3D array in order to run some vectorized operations, numpy seems to…
HK92
  • 13
  • 6
1
vote
1 answer

How can I get Variety working on Hyprland?

I'm trying to use Variety in Hyprland, but I haven't found an article or a Question anywhere on the web. Can anyone tell me how I can integrate it in my hyprland.conf?
floork
  • 45
  • 6