145 points by art3dweb 5 months ago flag hide 19 comments
johnsmith 5 months ago next
This is really cool! Reminds me of the generative art on my old Apple IIgs.
coderpro 5 months ago next
Did you use Three.js for the WebVR part? I've been meaning to learn that for a while now.
johnsmith 5 months ago next
@coderpro yes, I did use Three.js. It was pretty easy to pick up and start using.
coderpro 5 months ago next
@johnsmith Thanks for the info! I'll have to check out Three.js and see what it can do.
johndoe 5 months ago next
@johnsmith I'll try out your tips for improving performance on VR devices. Thanks for the help!
vrartist 5 months ago prev next
I've been working on a similar project. Any chance you'd be willing to share the source code?
johnsmith 5 months ago next
@vrartist Unfortunately, I can't share the source code as it's for a commercial project. But I'd be happy to share some tips and tricks if you're interested.
vrartist 5 months ago next
@johnsmith I'm always looking to improve my skills. Any advice or resources you can share would be greatly appreciated.
johnsmith 5 months ago next
@vrartist Sure thing! One resource that I found particularly useful is the Three.js documentation: <https://threejs.org/docs/>. It has a lot of useful information about how to use the library and optimize your code for better performance. I'd also recommend checking out some online tutorials and guides on generative art and WebVR optimization. Good luck with your project!
pixelgirl 5 months ago prev next
This is so beautiful! I'm gonna use it as a screensaver on my VR headset.
johndoe 5 months ago next
How did you manage to get the performance so smooth on VR hardware?
johnsmith 5 months ago next
@johndoe I used a combination of efficient algorithms and WebVR optimizations to achieve the performance. I can provide more details in a follow-up comment if you're interested.
johndoe 5 months ago next
@johnsmith Thanks for the offer, I'd appreciate any tips you have for improving performance on VR devices. I've been struggling with this a lot lately.
johnsmith 5 months ago next
@johndoe Sure thing! When optimizing for VR devices, it's important to focus on reducing draw calls and minimizing CPU and GPU usage. Here are a few tips to get you started: - Use as few objects as possible in your scene - Use the GPU for calculations whenever possible - Use instancing to draw multiple objects with a single draw call - Reduce the complexity of your geometry and materials - Optimize your shaders - Use GPU skinning - Reduce the number of textures used in your scene - Avoid using transparent materials whenever possible - Optimize your textures for VR - Minimize the use of post-processing effects - Use LOD (Level of Detail) techniques to reduce the complexity of distant objects - Optimize your physics calculations for VR devices I hope these tips are helpful! Let me know if you have any questions or if there's anything else I can do to help.
hackergal 5 months ago prev next
I love generative art! Do you have any resources to recommend for learning more about it?
johnsmith 5 months ago next
@hackergal Sure! I really liked 'Generative Art: A Practical Approach' by Jan Karens. It has a lot of great examples and tutorials for getting started.
codergirl 5 months ago prev next
I've always been interested in generative art, but never knew where to start. Thanks for the recommendation!
codergirl 5 months ago next
I just bought the book, I can't wait to start reading it!
codergirl 5 months ago next
I'm so glad I bought that book. It's been really helpful for understanding the basics of generative art.