Sh

Show HN - I made my own Perlin-like Noise in Google Sheets

Hacker News

Show HN - I made my own Perlin-like Noise in Google Sheets

Greetings HN! If you're like me, you enjoy pushing the boundaries of software applications for fun and profit. In an abundance of that enterprising spirit, I've taken a unique approach to procedural generation using Google Sheets. I created a Perlin-like noise generator, which I’ve named the "tentpole noise algorithm," relying entirely on cell formulas and MOD functions for pseudo RNG with a seeded approach. Here's a breakdown of how it's structured: First Layer - Establishing Tentpoles: The initial setup involves defining high and low points using modulus operations to determine peak positions:This mimics the function of tentpoles, setting the maximum and minimum =IF(MOD(C$5,$C$1) + MOD($A7,$C$1)=0,IF(MD5(CONCATENATE($C$3,C$5,$A7))>"8",((HEX2DEC(RIGHT(MD5(CONCATENATE($C$3,C$5,$A7)),1))-5)*$C$4),0),0) Second Layer - Canvas Logic: This layer applies logic to smooth the terrain between the tentpoles, simulating the canvas stretched over them =IF(E9=0,(SUM(IF(D9=0,0,D9),IF(E8=0,0,E8),IF(F9=0,0,F9),IF(E10=0,0,E10))/2+SUM(IF(D8=0,0,D8),IF(F8=0,0,F8),IF(D10=0,0,D10),IF(F10=0,0,F10))/2+SUM(IF(C9=0,0,C9),IF(E7=0,0,E7),IF(G9=0,0,G9),IF(E11=0,0,E11))/4+SUM(IF(C8=0,0,C8),IF(D7=0,0,D7),IF(F7=0,0,F7),IF(G8=0,0,G8),IF(C10=0,0,C10),IF(G10=0,0,G10),IF(D11=0,0,D11),IF(F11=0,0,F11))/8)+5,E9) Originally designed for terrain generation, this algorithm has been equally effective for simulating environmental attributes like moisture and temperature in my game. Here’s a link to the spreadsheet in case anyone wants to see it in action. https://docs.google.com/spreadsheets/d/172yXQpKp1AeM89RiSsL8... Once I had this working, I converted the logic to C# and put it into my project, Xyzzya — a platform that merges worldbuilding with advanced AI and procedural generation to create dynamic, living worlds. For more insights into how procedural generation shapes the core of Xyzzya, you can check out our latest blog post here: https://www.xyzzya.com/progress/xyzzya-adventure-mode-recent... Note: I posted this on reddit over the past weekend, and it was well-received so I am sharing here. Original: https://www.reddit.com/r/proceduralgeneration/comments/1dapw...

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
76%76% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: google, using · Missing: mac, agents, macos
65%65% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: google · Missing: mobile apps, ios, personal
49%49% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform · Missing: plus, intuitive, reviews
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: profit · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ra
Rails Scaffolding in Google Sheets44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rails Scaffolding in Google Sheets

Hacker News2
Ca
Causal Scenarios for Google Sheets41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Causal Scenarios for Google Sheets

Hacker News2
Mo
Monte Carlo in Google Sheets46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Monte Carlo in Google Sheets

Hacker News1
Sp
SpreadAPI – Google Sheets API Without Thirdparties51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SpreadAPI – Google Sheets API Without Thirdparties

Hacker News4
Vurge
Vurge78%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

It's like Clay but in Google Sheets

Product Hunt+198Sales
A
A Full-Featured Period Tracker with Google Sheets41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Full-Featured Period Tracker with Google Sheets

Hacker News2
A
A SimpleCSPM for Auditing Google Cloud with Google Sheets48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A SimpleCSPM for Auditing Google Cloud with Google Sheets

Hacker News1
Scrumsheet
Scrumsheet46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A full-featured scrum app powered by Google Sheets.

Indie Hackers1$14/moproductivity
Co
Connect Google Sheets to MongoDB47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Connect Google Sheets to MongoDB

Hacker News4
Sy
Sync your transactions to Google Sheets44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sync your transactions to Google Sheets

Hacker News1