I have been wondering lately about the potential of making a fun little game inspired by risk.
How would I go about procedurally generate continents and countries with wobbly lined borders? I'm leaning towards SVGs btw.
I have been wondering lately about the potential of making a fun little game inspired by risk.
How would I go about procedurally generate continents and countries with wobbly lined borders? I'm leaning towards SVGs btw.
For further actions, you may consider blocking this person and/or reporting abuse
Arsalan Mlaik -
Yogesh Chavan -
Jack Pritom Soren -
T Sudhish Nair -
Top comments (8)
P5.js as a possibility?
Integrating P5.js with React
Christian γ» Feb 13 γ» 5 min read
Recreating paintings with Generative Art, using p5.js
Dhruv γ» May 26 '19 γ» 3 min read
Integrating P5.js with React
Christian γ» Feb 13 γ» 5 min read
P5 has pretty bad performance and it encourafges bad practices - coming from a guy who used to love p5
Yeah I've never used it, it just came to mind as a possible fit for the solution based on what I've read about it. Do you have any alternative ideas?
Pixi looks cool, but I havent tried it
Yeah, I watched the coding train videos, and I saw some strangeness with P5, It treats canvas as something a bit different to normal webdev.
I was asking more about the algorithm used to generate 2d terrain that looks like a map.
I'd try something along the lines of:
Welcome Josh!
I think this sounds about right yes.
Architecturally I'm going to use this:
The actor model with the, and maybe challenge myself with pick.js
I will use typescript and xstate as per the video.
So more on the algorithm side, voronoi or centroids.