Skip to content

Conversation

@PeteHaughie
Copy link

@PeteHaughie PeteHaughie commented Oct 15, 2025

I was working through some old example from Dan Schiffman's Nature of Code and realised there was no random() description which returns 0.0 – 1 (non inclusive) as was mentioned in his example sketch here: https://github.com/nature-of-code/noc-2-processing-port/blob/main/chapter0/Example_0_3_Random_Walk_Tends_To_Right/Example_0_3_Random_Walk_Tends_To_Right.pde

Additionally there were duplicate x and y components in the PVector.set() parameters

Random was missing an implicit return type description
Add description for 'none' parameter in random function
@netlify
Copy link

netlify bot commented Oct 15, 2025

Deploy Preview for java-processing-faf822 ready!

Name Link
🔨 Latest commit 251dbd7
🔍 Latest deploy log https://app.netlify.com/projects/java-processing-faf822/deploys/68f107c0dfe6cd000840201d
😎 Deploy Preview https://deploy-preview-651--java-processing-faf822.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Apologies - a simple syntax error
Removed duplicate x and y components from PVector_set_ JSON.
Removed duplicate x and y component definitions from PVector_set_ translation.
@PeteHaughie PeteHaughie changed the title Random is missing 'none' type Various fixes for the documentation Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant