r/Python • • Sep 14 '19

Rolling Hills (Made with Python Processing)

https://gfycat.com/groundedthickkentrosaurus
1.3k Upvotes

34 comments sorted by

60

u/thebuffed Sep 14 '19 edited Sep 14 '19

13

u/_LoneWolf Sep 14 '19

Thanks very much for the tutorial :)

9

u/thebuffed Sep 14 '19

My pleasure! Thank you for checking it out!

20

u/The_Shell_Bullet Sep 14 '19

Hummm, that's useful to make turn based JRPGS terrain maps.

12

u/thebuffed Sep 14 '19

That sounds like a pretty cool application!

5

u/Casssis Sep 14 '19

Nice job!

2

u/thebuffed Sep 14 '19

Thank you! :D

3

u/[deleted] Sep 14 '19

Beautiful

1

u/thebuffed Sep 14 '19

Thank you!

3

u/midasgoldentouch Sep 15 '19

Nice! You should cross post to r/proceduralgeneration

4

u/thebuffed Sep 15 '19

Thank you! I actually did post there haha but it surprisingly got a little more attention here

4

u/ItsAndwew Sep 14 '19

How does it compare to Processing?

4

u/thebuffed Sep 14 '19

I have used the Java version very little, but I love both Python and JavaScript. I don't know enough about each of them to compare performance, but I've had nothing but a positive experience!

0

u/ItsAndwew Sep 14 '19

I'm not sure about how this library achieves its purpose, but I bet you could squeeze better performance out of something Java based. Syntax looks pretty similar in your code too.

1

u/thebuffed Sep 14 '19

You're probably right. I usually make just one static image instead of trying to pump out 100 frames for a gif

2

u/SuspiciousScript Sep 15 '19

AFAIK Python Processing still only supports 2.x syntax.

2

u/FirmStrike Sep 15 '19

Fascinating!

2

u/thebuffed Sep 15 '19

Thank you!

41

u/astigos1 Sep 14 '19

Reticulating splines

1

u/[deleted] Sep 14 '19

cool

1

u/MassDBA Sep 15 '19

This is pretty cool....how long have have u been working with python? Beginer here just curios.

1

u/thebuffed Sep 15 '19

A few years as a hobby, and I use it occasionally in my job

1

u/Bartholemue Sep 14 '19

Are you able to apply limits in calculus to get those rectangles even smaller creating a more even flow of the the “landscape”?

2

u/thebuffed Sep 14 '19

They're all completely adjustable, they can be shorter and the fluctuations in elevation height can be changed

1

u/Bartholemue Sep 14 '19

That’s awesome!!

1

u/[deleted] Sep 14 '19

Nice one!! Kudos to you for pronouncing 'gif' correctly as it should be.

1

u/axonxorz pip'ing aint easy, especially on windows Sep 14 '19

Reminds me of Seti@Home

1

u/Bartholemue Sep 14 '19

That’s awesome!!

1

u/psota Sep 14 '19

Does anyone else see potential for a machine like this to replace 3d printers as it can create moulds for various shapes

1

u/stets Oct 10 '19

Super cool! I really enjoyed the others in your generative art repo as well. How'd you get involved in making these?

-5

u/ELlisDe Sep 15 '19

Ur gay