This commit is contained in:
MrLetsplay 2023-10-26 21:27:18 +02:00
parent 0167260dc5
commit 94bac26a7c
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg

View File

@ -56,7 +56,6 @@ const StrNoise: Component = () => {
const arr = input().split('');
const its = noiseLevel() / 100 * arr.length * 2;
console.log('EEE', its);
for (let i = 0; i < its; i++) {
const type = types[Math.floor(generator() * types.length)];
@ -102,7 +101,7 @@ const StrNoise: Component = () => {
<label>Swap Adjacent</label>
</div>
<h2>Seed</h2>
<input type={'seed'} min={0} max={100} value={seed()} onInput={e => setSeed(e.currentTarget.value)} />
<input min={0} max={100} value={seed()} onInput={e => setSeed(e.currentTarget.value)} />
<h2>Output</h2>
<input value={output()} ref={outputField} />
<button onclick={copy}>Copy Output</button>