Code generative art UPDATE

preview_player
Показать описание
Many people have asked in the comments for me to do a few updates on the existing "Code generative art for NFT in node js" tutorial, and so I did. I made the code more robust and increased the performance by 1000X. Hope you enjoy it.

Github repo:

HashLips/HashLips Lab provides educational content and open-source code for informational purposes only, without any express or implied warranties on accuracy or completeness. Our materials are not intended as financial or professional advice and should not replace professional judgment or expertise. The use of our content and code is at your sole discretion and risk.

Please note, that our resources are not financial advice. Decisions made based on our content are the user's responsibility, and HashLips/HashLips Lab assumes no liability for any direct or indirect losses, including but not limited to data loss or profit loss, that may result from utilizing our educational materials or open-source code.

#react #generativeart #generative #art #node #javascript #coding #smartcontract #programming #matic #polygon #network #maticnetwork #polygonnetwork #nft​​ #nfts​​ #nftinvestor​​ #hashlips​​ #code​​ #safelips​​ #hashlip #game
Рекомендации по теме
Комментарии
Автор

You are doing something awesome man, first time I stick around to follow a on going project, and seeing the code getting better and better is so cool, excited to see the weighted rarities!! Thank you

rubens_mjr
Автор

I have a horrible computer but it created 15 NFTs within a second using your previous source. Will check this out though! Thank you for your videos.

Younes
Автор

you are mad! these are amazing. I've just spent 3 solid days recreating each line and I know nothing of java script but have learned so much! This is exactly what i've been searching for, as well as so many others I'm sure. 1000 likes and a 1000 subscribes.! I'm on to the next tutorial! Thanks!

AnotherDayOnEarth_
Автор

I have made a update in the repo, but basically you can just add the index to the map and to the DnaSegment in this function like this.

const constructLayerToDna = (_dna, _layers) => {
let DnaSegment = _dna.toString().match(/.{1, 2}/g);
let mappedDnaToLayers = _layers.map((layer, index) => {
let selectedElement =
% layer.elements.length];
return {
location: layer.location,
position: layer.position,
size: layer.size,
selectedElement: selectedElement,
};
});

HashLipsAcademy
Автор

Legend. I would've been more into programming had you been my teach to start. Lots of clarity happening here, it's even helping me with SWIFT right now haha

ChetMaddox
Автор

I have been cramming in coding the past couple of days and its starting to make sense now. This page is awesome for the value they provide and its FREE lol #TY

moisespineda
Автор

Thanks for making this tutorial and it's just in time for our NFT project! Hope we can launch soon and will give it back to you when we can!

pizzayap
Автор

Looks just what I was looking for. Thank you. I don't know if I'll finish it today/tonight, but ASAP. You are truly amazing. 💗🎨

ciliann
Автор

And updated. Thanks so much for what you’re doing for the community. This is great!

tonyfisher
Автор

Please make a video on weighted rarities and %. That would be legendary

kristapsb-d
Автор

found your vides and im excited to learn, thank you for taking the time to help us all!!

jdccruzz
Автор

Hello! If I finish my art project and get money from it, I'll definitely support you in a way or another, maybe by buying some of your NFT :) Could you do a complete tutorial on how to use (the best way) IPFS and smart contracts for a Nft Dapp allowing users to randomly mint a huge collection? Seems to be the hardest part of the job, and I'm searching for that all around the web and I'm still also an absolute noob lol

pxlsyl
Автор

Dude, you are an absolute magician, thank you for this! Seriously, I'm banging my head against the keyboard for weeks, you just gave me everything I wanted on a silver platter... I will send you one of my NFTs once they are done! How can I get a hold of your wallet?

JosuRibeiro
Автор

Nice work! was waiting for that update.

luizpaulodecastro
Автор

Great improvement to the previous edition! How do i make sure only certain number of inputs or attributes are used in an image/edition rather than using all attributes? And also, making sure certain type of attributes are not mixed with others? Thanks for all the work you're doing!

vigneshramasamy
Автор

I want to do this exact thing but with audio? I'm guessing I would need to use some other library other than Canvas, but I'm not sure what to do. I simply want the .png layers to be .wav or .mp3 layers instead. Any ideas?

This series is amazing btw, thank you for putting it together!

jhowle
Автор

Hey man, love your effort, your logic is on point, Im an artist, and I even haven't scratched the tip of the iceberg, I would like to know if I could make use of gif files to achieve animated compositions. Thank you in advance

Renegrox
Автор

This is great content thank you!! but how would we be able to deploy this on the Blockchain and allow other accounts to mint

Btw liked and subscribed, keep the amazing content coming!

MA-iitw
Автор

Hi there,

Really nice code! Y just subscribed your channel.
I want to make some animated NFTs using GIFs, but unfortunately the output files always make only PNGs.
Is there a way to work with GIFs?

Thanks

Zecarlos
Автор

How do i know the number of unique possibilities that i have available? Do i have to multiply the number of items on each layer? I mean, this code has 648 unique combinations only (not considering the drawBackground() function, which adds 360 new possibilities, raising the total number to 233.280). Is my calculation correct?

By the way, thanks for this HUGE and AWESOME project!

Gustavo-nzvt