Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
67 views

I am trying to create a custom Rule tile in unity. TLDR: I am seeking to make a rule in my ruletile that allows for parts of a tile that "sticks out" of the tiles at the top, to have higher ...
martin pedersen's user avatar
-1 votes
1 answer
598 views

I am currently building a hexagonal grid system in unity, with hexagons whose dimension is a little different than regular one. It's pointy-top, but its height and width is all 1, instead of 1 and ...
LT.DAN's user avatar
  • 1
0 votes
1 answer
101 views

I'm using D3 to show a grid of hexagons. You can zoom in and out, and it changes the tile size. Sometimes the rows shift from normal, and I don't know how to predict or control it. I would like the ...
Phil Snell's user avatar
1 vote
1 answer
291 views

In the docs for gridDistance is the following sentence "Finding the distance can fail because the two indexes are not comparable (different resolutions), too far apart, or are separated by ...
Michael Houlihan's user avatar
3 votes
0 answers
53 views

I am trying to map hex from geom_hex to original data points. For example I want to find points in the iris dataframe that are related to highlighted hex (red circle). data("iris") rownames(...
Anna's user avatar
  • 31
0 votes
0 answers
78 views

In my project I am focused right now on the frontend implementation of a series of buttons. Once loading the page, buttons will render on the screen, one after the other, starting from the top-left of ...
Christian's user avatar
1 vote
0 answers
232 views

How to construct a hexogonal shape heat map in google map. Normally heat map in google map in constructed by following code val heatMapProvider = HeatmapTileProvider.Builder() ....
Suman Radhakrishnan's user avatar
0 votes
0 answers
66 views

The following code shows the mouse hit position with a gray sphere; the yellow sphere shows the snapped hex position; as you can see it works well when close to center but the moment I get a bit far ...
Disco Fever's user avatar
0 votes
0 answers
575 views

I found this code and the grid is made of flat-topped hexagons. I am trying to make them pointy-topped. http://www.csharphelper.com/howtos/howto_hexagonal_grid.html I have set the center of a hexagon ...
mary-jane-s-not-the-same's user avatar
0 votes
0 answers
56 views

There is a task, it is necessary to determine rectilinear movement among the transmitted GPS coordinates (without any binding to roads, water bodies, etc.). I converted the received GPS coordinates ...
Dmitry Polyanskiy's user avatar
7 votes
2 answers
1k views

I'm making a hexagon tile based game, which generates a honeycomb arrangement of hexagons in a spiral shape. My goal is to convert a world position (e.g. a mouse click) to a spiral coordinate (index / ...
Jomity's user avatar
  • 88
0 votes
2 answers
1k views

I want to make a system where a user will be able to draw a hexagonal grid. The regions and their coordinates will be stored in Database. We are thinking to implement H3 libary for this. How will be ...
Haider Wain's user avatar
0 votes
1 answer
412 views

I would like to create a SpatialPolygons object (Hexagonal grid) that replace another SpatialPolygons. my attempt using the sp, sf and rgeos packages does not work, I get the error: Error in (function ...
Patrick Stephenson's user avatar
0 votes
2 answers
366 views

I am drawing a hexagonal grid using javascript and svg. The grid needs to have a fixed width (let's say, of 1000px). The dimensions of the grid can differ, but I have that information (the columns and ...
spassvogel's user avatar
  • 3,549
0 votes
1 answer
318 views

Using the hexgrid and coordinates above, I am trying to find a consistent formula to calculate the distance between two hexes.
plerpsandplerps's user avatar
1 vote
0 answers
238 views

I am looking for a way to find the corresponding bin center for every point in my hexbin plot. For example, here is my plot: hex = plt.hexbin( df['loc_x'], df['loc_y'], extent=(-250, 250, 422....
bismo's user avatar
  • 1,645
2 votes
1 answer
7k views

I created a hexagon grid based on information in this article https://www.redblobgames.com/grids/hexagons/ Here's how it looks so far: I want to divide this grid into groups similar to this: I want ...
Andy D's user avatar
  • 41
1 vote
0 answers
591 views

Good day! How to get the world coordinates of Tile corner points (hex point top)? Unity tilemap. My code: Vector3Int Vector3IntPoint = new Vector3Int(4,8); // cell Vector3 worldCenterPos = MyTileMap....
manking's user avatar
  • 396
2 votes
0 answers
84 views

I'm looking for ways of interpolating a set of colors (3d values of r, g, b represented as [0-5] respectively) across a hexagonal honeycomb grid. My specific scenario is a set of terminal colors: ...
achilles's user avatar
1 vote
2 answers
2k views

Uber has released h3, a framework for efficiently handling big data in the geospatial file. Using h3, I attempted to get the location of a hexagonal grid location as shown in the figure. (https://eng....
MONO's user avatar
  • 13
0 votes
0 answers
184 views

I'd like to combine a hexbin plot with a ggplot in different panels in R. I can get kinda close, but it's still not working: library(hexbin) library(ggplot2) library(grid) x1 <- rnorm(100) y1 <...
Eden's user avatar
  • 528
1 vote
1 answer
837 views

So I´ve made a CSS hexagon/honeycomb grid based on set math equations but I can´t seem to make it flexible. Can´t seem to convert grid-auto-rows (.hexGridA and . hexGridB) from px to % in a meaningful ...
Linus Ahlborg's user avatar
4 votes
1 answer
2k views

I am trying to convert a geojson of London local authorities into a hex cartogram where each hexagon represents one local authority. It works in R but when I try to export the generated hexgrid as ...
console.log's user avatar
0 votes
0 answers
48 views

I am making an implementation of the game Hexic. The game is centered around making clusters of Hexagons in order to remove them from the board. I have found a way to identify the coordinates of every ...
Jonas's user avatar
  • 1
0 votes
1 answer
366 views

I want to generate a hexagon grid on the ocean for finding a shortest path. Networkx provides lattice.hexagonal_lattice_graph which generates a graph whose nodes and edges are the hexagonal tiling of ...
JobS's user avatar
  • 61

1
2 3 4 5