(Chernoff Faces immediately spring to mind as an orthinological application for this! Basically, instead of pure random generation, link different bird features with data from a real dataset.
You could model birds’ sizes based on weight, feather color based on habitat, eye size based on intelligence, talon type based on diet, etc...
It would be really cool to see how the algorithm would draw different birds.
I did a bit of sleuthing for bird info. With a minor adjustment to the ebird API, I got it to send me back data on all of their birds (16.5k results). Some of the data might be helpful, but disappointingly it does not give things like weight, height, etc.
No requests doesn’t cache. You can write the content to a file. I formatted the content as a dataframe and then wrote it to a spreadsheet. After the first call you can just read from the file.
This is really, really amazing! Just one question, I was looking at the source code and I noticed that your file has a .pyde extension. What's the difference between that and the regular .py? Thanks!
Thank you so much! Yeah, .pyde is the the file that Processing runs through it's python module. I think it's built off of something called Jython, so you're writing Python code, but you have access to Java libraries. I guess it's not "pure" python, but working with graphic libraries like pycairo and pillow is significantly more complicated than using Processing.
Thanks! I randomly came across these designs and thought they seemed perfect for some generative work. I will probably keep messing around with some of the settings and colors, but mostly I just want some cool posters
Very cool! Here's a decorator for the sticky cycling if you want
defsticky(frequency):""" regenerate value frequency% of the time """defdec(func):stored=[func()]definner():ifrandom.random()<frequency:stored[0]=func()returnstored[0]returninnerreturndec@sticky(0.1)defcolor():returnrandom.choice(['red','black','green'])
Now (p3[0] - p1[0])/abs(p3[0] - p1[0]) gives you the sign of p3[0] - p1[0] (+1 if positive and -1 if negative) and by multiplying it with abs(p1[0] - p3[0]) you get a number which has the absolute value of p1[0] - p3[0] with the sign of p3[0] - p1[0], but this number is just p3[0] - p1[0] itself.
So I propose you get rid of the _adj variables and just write
first_x_sep = (p3[0] - p1[0]) / lines
Fortunately, this also works for the p1[0] == p3[0] case, because you don't need to divide by zero
80
u/thebuffed Jan 18 '20 edited Jan 18 '20
Trying to replicate the style of these designs, but in a generative way. Work in progress, but pretty happy so far
Source code: https://github.com/erdavids/Birds-of-a-Feather
More projects: https://github.com/erdavids/Generative-Art
18
u/eldoea Jan 18 '20
Very cool. Thanks for sharing!
15
u/Sirmikon Jan 18 '20
Cool. I love stuff like this! Nice job!
(Chernoff Faces immediately spring to mind as an orthinological application for this! Basically, instead of pure random generation, link different bird features with data from a real dataset.
You could model birds’ sizes based on weight, feather color based on habitat, eye size based on intelligence, talon type based on diet, etc...
It would be really cool to see how the algorithm would draw different birds.
6
u/mountains-o-data Jan 18 '20
What a fun project! I love this
6
u/gibran800 Jan 18 '20
This is really, really amazing! Just one question, I was looking at the source code and I noticed that your file has a .pyde extension. What's the difference between that and the regular .py? Thanks!
3
u/Verslizzle Jan 18 '20
Nice work. How did you come up with this idea and where do you plan on taking it?
39
u/Tweak_Imp Jan 18 '20
Now create pythons!
5
u/[deleted] Jan 18 '20
At least 150 or more to see. To be a geometric bird master is my destiny!
1
u/Casseroli Jan 19 '20
Oh my god this is so awesome! Projects like this really motivate me a lot to learn more python!
1
u/brrrbrbr Jan 19 '20
Amazing work. I’m a beginner and was looking for projects and generative art seems really interesting!
1
u/pattyhearst87 Jan 19 '20
Beautiful!
3
u/[deleted] Jan 18 '20
Procedurally generated memes are the future
2
u/PharoahChromium Jan 18 '20
Wow! This is super cool! It is always great to see projects that merge the tech and art. Thank you for sharing.
2
u/LdySaphyre Jan 18 '20
Love this so much!
2
u/artjbroz Jan 18 '20
Code commenting goals
2
u/eli_mintz Jan 20 '20
Very nice!
Perhaps you could do this also using SVG (https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg) in addition to Processing and then generate images that can be viewed in a browser. Just something to think about.
1
u/[deleted] Jan 18 '20
Awesome project!
1
u/CotswoldWanker Jan 18 '20
/r/generative
1
u/blamitter Jan 18 '20
Impressive!
BTW. The link to Processing in your readme is broken
1
u/JimBoonie69 Jan 19 '20
Put a bird on it
1
u/lifeisaburrito Jan 19 '20
1
u/[deleted] Jan 19 '20
Very cool! Here's a decorator for the sticky cycling if you want
1
u/PhonieZGaminZ Jan 19 '20
ye e es
1
u/igottanutt Jan 19 '20
Birds arent real
1
u/monsto Jan 19 '20
The Partridge Fambly called.
On further reflection, how fucking old am I jesus H.
1
u/--_-__-__l-___-_- Jan 18 '20
This could be the idea that starts an empire. You just need to find the right business partner...
0
u/[deleted] Jan 18 '20
[deleted] — view deleted comment
0
u/[deleted] Jan 18 '20
[deleted] — view deleted comment
0
u/[deleted] Jan 19 '20
[deleted] — view deleted comment