user35545: I am hoping to create a new cryptocurrency from a Bitcoin fork, mostly for learning, and a little bit of fun. I roughly followed this answer to get as far as I am, but the genesis generator requires a pubkey and an nBits param, and I have no idea how to get these.
Any advice or resources pertaining to those parameters or cryptocurrency creation in general would be great.

user11123: The public key doesn't matter, no coins are created in the genesis block. 
nBits decides the blocks difficulty, affecting how long it will take to mine. You also have to modify your daemons code to allow this difficulty. 

user20835: You can see the actual numbers that are hard coded in the bitcoin core source code
CreateGenesisBlock(1231006505, 2083236893, 0x1d00ffff, 1, 50 * COIN)

where the function signature is
static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)


user43986: Detailed explanation of the nBits encoding https://bitcoin.org/en/developer-reference#target-nbits
In a very real sense, exact choice of the pubkey does not matter
How do I compute merkle root for genesis block?
Genesis block coinbase cannot be spent
Why can’t the genesis block coinbase be spent?

35545: <p>I am hoping to create a new cryptocurrency from a Bitcoin fork, mostly for learning, and a little bit of fun. I roughly followed <a href="https://bitcoin.stackexchange.com/a/19288/35545">this answer</a> to get as far as I am, but the genesis generator requires a <code>pubkey</code> and an <code>nBits</code> param, and I have no idea how to get these.</p>

<p>Any advice or resources pertaining to those parameters or cryptocurrency creation in general would be great.</p>
 11123: <p>The public key doesn't matter, no coins are created in the genesis block. </p>

<p>nBits decides the blocks difficulty, affecting how long it will take to mine. You also have to modify your daemons code to allow this difficulty. </p>
 20835: <p>You can see the actual numbers that are <a href="https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L112" rel="nofollow">hard coded in the bitcoin core source code</a></p>

<pre><code>CreateGenesisBlock(1231006505, 2083236893, 0x1d00ffff, 1, 50 * COIN)
</code></pre>

<p>where the function signature is</p>

<pre><code>static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount&amp; genesisReward)
</code></pre>
 43986: <p>Detailed explanation of the nBits encoding <a href="https://bitcoin.org/en/developer-reference#target-nbits" rel="nofollow noreferrer">https://bitcoin.org/en/developer-reference#target-nbits</a></p>

<p>In a very real sense, exact choice of the pubkey does not matter
<a href="https://bitcoin.stackexchange.com/questions/9746/how-do-i-compute-merkle-root-for-genesis-block">How do I compute merkle root for genesis block?</a></p>

<p>Genesis block coinbase cannot be spent
<a href="https://bitcoin.stackexchange.com/questions/10009/why-can-t-the-genesis-block-coinbase-be-spent">Why can’t the genesis block coinbase be spent?</a></p>
