85 questions
1 vote
0 answers
79 views
How to make a 2d simplex noise map that loops in both directions? Godot 3.6
So I've followed a few tutorials to try and do this but I'm not getting anywhere. What I'm trying to do is make a 2D noise map that loops in all directions (I'm making a game map you can walk around ...
0 votes
1 answer
60 views
Issue With 2d Noise
I'm making a top down survival game and I have done a procedural world gen using noise2D (FastNoiseLite). The next step was to randomize the seed, but I can't figure out how to... Thanks I tried : @...
0 votes
0 answers
47 views
How do I generate Simplex noise with a bias on lower values?
I want to generate Simplex noise with a "bias" on lower values. The project I am using this for is intended to generate islands, but the islands are too close together and sometimes connect ...
1 vote
1 answer
688 views
Cannot get npm simplex-noise package import to work in JS project
I am having trouble getting this package to work. I have made a basic P5JS project and I cannot get the import to work in my JS file. This is my JS file which works fine in the browser until I add the ...
0 votes
1 answer
272 views
WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
using twgl.js, I keep getting this error when I call twgl.createTexture. Im making a map using simplex noise from noisejs, and each pixel on the screen has a height value and a moisture value. It ...
3 votes
1 answer
324 views
Noise function outputs subtly different result when converted from hlsl to c#
I am making a game in which I procedurally generate planets using a compute shader which builds a deformed sphere based on noise from a noise function I downloaded. The whole system works fine in the ...
0 votes
1 answer
281 views
How can I improve the performance of my HTML5 2D canvas?
I've made a "biome gridmap playground" app which help to design biomes for a 2D grid map using simplex noise. The algorithm is roughly this: for each grid map tile, we look at the noises ...
1 vote
1 answer
106 views
Why is no data getting written to image?
I'm trying to create procedural textures, and for that, I'm generating noise, and then writing that data to an image file, to be displayed. So far I generated the noise, and now I'm trying to write ...
0 votes
1 answer
170 views
Symbol.tsx: undefined is not a constructor (evaluating 'new _simplexNoise.default(i + "-" + j)')
construct.js infraction, coupled in with the source at Symbol.tsx, likely. Symbol.tsx import type { SkFont, Vector, SkiaValue, SkiaClockValue, } from "@shopify/react-native-skia"; ...
2 votes
1 answer
384 views
Infinte map generation in isometric game - Java LibGDX
I'm currently trying to learn game developing in Java with LibGDX and have a few questions regarding infinite map generation in an isometric type tile game. My current code in a Screen constructor ...
1 vote
1 answer
446 views
I can't get this demo to work on my computer in three.js and cannon.js from sandbox
Here is the demo but it always says that I am missing the modules whereas I have all the dependancies : https://tympanus.net/codrops/2020/02/11/how-to-create-a-physics-based-3d-cloth-with-cannon-js-...
0 votes
1 answer
133 views
Physics.Raycast not working with a Marching Cubes -generated mesh
What it spits out My raycast spits out a position way off from what it's supposed to be. I'm trying to place objects procedurally on a procedural mesh. I've been scratching my head at this for a while....
0 votes
1 answer
672 views
How does Roblox's math.noise() deal with negative inputs?
While messing around with noise outside of Roblox, I realized Perlin/Simplex Noise does not like negative inputs. Remembering Roblox has a noise function, I tried there, and found out negative ...
0 votes
1 answer
389 views
Issue with seamless 1-D SImplex noise
Typically when generating seamless Simplex noise the strategy is to go to 4-dimensions (a strategy which has worked well for me in the past when using 2-D Simplex), however I am trying to generate a ...
3 votes
1 answer
931 views
How can I generate a circle/square gradient and store it in a 2d array?
I'm trying to figure out how I can - or at least where I can read more about it - create a circle / square gradient and store the data in a 2d array. My goal is to use the gradient with simplex-noise ...