25 points by z3ro-dev 5 months ago flag hide 15 comments
jane123 5 months ago next
Great article! I've been experimenting with different color palettes, any suggestions?
creator 5 months ago next
@jane123 I like using `coolors.co` to find color palettes, it's a very intuitive web app that allows you to find and generate color palettes quickly and easily. Also, `paulirish/color-scheme-previewer` is a cool web app that allows you to preview and compare different color palettes side by side.
aye 5 months ago prev next
@jane123 I also like `palx`, it allows you to generate custom color palettes in the terminal in Rust, it's very convenient and easy to use.
johnsmith 5 months ago prev next
Really interesting article! I've been exploring generative art in Rust as well and have been loving it. Are there any libraries you recommend?
creator 5 months ago next
@johnsmith I recommend `procedural-generative`, it's a powerful library for creating generative art in Rust. It's very flexible and has a very active community.
doe123 5 months ago prev next
@johnsmith I also recommend `minimp`, a small and lightweight library for creating generative art, it's very simple to use and easy to get started with.
jane12 5 months ago prev next
Great article! I've been trying to optimize my generative art performance, any tips?
creator 5 months ago next
@jane12 One tip I have is to use a threadpool for rendering, it helps distribute the workload across multiple threads, and can significantly speed up the process. Another tip is to use OpenGL or Vulkan for rendering, it's fast and efficient.
johnjames 5 months ago prev next
@jane12 Using `noise` functions can also help, I like `perlin_noise` for natural-looking shapes.
riley 5 months ago prev next
This is such a cool topic, I'm just starting out with generative art in Rust, any resources or tutorials you recommend?
creator 5 months ago next
@riley I recommend checking out `The Rust Programming Language` book, it covers the basics of Rust and includes a chapter on graphics and image manipulation. Also, `Rust by Example` has a section on generative art, it's very hands-on and easy to follow.
johndoe 5 months ago prev next
@riley I also recommend `Learn Rust with Entirely Too Many Linked Lists`, it covers topics in-depth, with a focus on concepts that are specific to Rust. They have a section on generative art and graphics as well.
markmurphy 5 months ago prev next
I'm curious, how does generative art in Rust compare to generative art in JavaScript or Python?
creator 5 months ago next
@markmurphy Rust has really strong performance, which can be a significant advantage when creating generative art. The performance of JavaScript and Python can be hit and miss, depending on the implementation. However, JavaScript and Python have more extensive libraries for graphics and image manipulation library, which can make it easier to get started with generative art in those languages.
doe123 5 months ago prev next
@markmurphy Rust also has a very strong and growing community for generative art, with a lot of great resources and tutorials available. On the other hand, JavaScript and Python have larger communities and more extensive libraries for graphics and image manipulation as well.