Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding perlin noise functionality #74

Merged
merged 10 commits into from
Sep 20, 2019
Merged

Conversation

roz3x
Copy link
Contributor

@roz3x roz3x commented Sep 8, 2019

No description provided.

noise/noise.go Outdated
"math/rand"
"time"

"github.com/anthonynsimon/bild/parallel"
"github.com/roz3x/bild/perlin"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rewrite it to use the github.com/anthonynsimon/bild/perlin package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay ! would be done soon .

main.go Outdated
"os"

"github.com/roz3x/bild/noise"
)

func main() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please undo the changes to the CLI entrypoint :)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also you don't need to include the files in the output/* directory, otherwise they will be downloaded on every install by the project users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry my bad, i changed it for testing purpose .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay i will delete the output folder , but where would i host the images then ?!


### Perlin Noise
result := noise.PerlinGenerate(800,800,0.2)
![example](https://github.com/roz3x/bild/blob/master/output/perlin_freq_0.2_serial.png)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I will add the image blob to the main repo once it's merged too.

@anthonynsimon
Copy link
Owner

anthonynsimon commented Sep 14, 2019 via email

@roz3x
Copy link
Contributor Author

roz3x commented Sep 14, 2019

thanks ! but you have to change the link in README too .

@anthonynsimon anthonynsimon merged commit a4e984c into anthonynsimon:master Sep 20, 2019
@anthonynsimon
Copy link
Owner

@roz3x looks great 🎉 thanks a lot for your help!

@roz3x
Copy link
Contributor Author

roz3x commented Sep 21, 2019

hey Thanks !

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.

2 participants