Vector Imaging and Music on Hive Layer One

avatar

image.png

Years ago I wrote a post about encoding pictures directly on the blockchain. Text is cheap. Pictures and music have a cost. Video is massive. The conclusion I came to was that, while possible, encoding pictures directly on the blockchain is way too expensive. It was a bad idea. That's fine; they can't all be winners.

However...

In the comments of that post, @builderofcastles brought up vector images, which I was not aware was even an option. I can't find the post but this was years ago, maybe 2018. Weird the things my brain chooses to remember considering how much I forget.

In any case, after doing some cursory research, I've found out that a vector image could be as little as 2KB to 5KB. There are probably some ways to restrict them all the way down to 1KB as well. Given a total max blocksize on Hive of 65KB, that's still kind of a lot, but it's a lot more doable if there's an actual product there and users creating content and getting paid for it.

image.png

Yeah, but what even is a vector image?

Normally we think of pictures of a bit-map. A two dimensional grid of pixels. That's the standard. However, vector images are generated by lines of code, which makes them a lot smaller. Like when you're in Paint and you draw a line or a circle or whatever else. If the program knows you drew a line from point A to point B then it doesn't have to save every single pixel of that line; all it needs to know is how to draw the line, and then draw it.

The advantages of vector images is that they are infinitely scalable without any loss or gain of data (they also load really really fast). You can shrink it down and lose zero detail, or you can blow it up and it's still the same file size. All that changes in this case is a aspect ratio variable, and the picture is drawn from there using this variable.

This means that theoretically we could be doing NFTs directly on the layer one chain.

Is it worth it? Probably not... But it's an interesting thought. What's the advantage of doing something like this on-chain instead of having it on some layer 2 or centralized server? Surely, something like this may be better suited to the SPEAK network when it arrives. Putting the data on layer one may just be a novelty that has little value compared to other solutions like IPFS. Still, it's worth exploring every possible option.

image.png

What about music.

Same thing. A music file (MP3 and whatever else) is too big to put on chain. However, given an app that can interpret music, we could just turn the code of the music into NFTs directly on the layer one and use the app to play/interpret the music (which doesn't exist on chain). Again, is it worth it? Unclear, but maybe.

Hive needs more jobs.

As one of the highest payed bloggers on this network... I get paid very little. I mean obviously if Hive was sitting at 2017 all time highs like Bitcoin I'd be doing just fine. Instead of making $100 posts I'd be making $700-$1600 per post (depending on if $3.50 is the ATH or $8 Steem). Obviously that would be an insane amount of money to be getting paid for a blog post. It all depends on the token price. We'll get back there eventually.

But like I said. We need MOAR jobs. Blogging is dumb. Too many bloggers; not enough value provided to the network. I mean just look around. Look at how many people are trying to jam a square peg into a round hole? If there were other options around here, many users definitely wouldn't be trying to write to earn an income. They'd be doing the other stuff (especially if it was more profitable). Making "art" or "music" is definitely something we should be looking into.

But again, layer one?

Yeah, I mean even I'm not sure if it should be on layer one. Obviously layer one is going to be more secure than any layer two, but how secure does it really need to be? These are the questions we need to ask when it comes to bandwidth, because bandwidth is precious and scaling up is hard.

image.png

Conclusion

This may not be the best idea, but it has just been clanging around in the back of my head for a while. Need to get it out of my head and onto the paper so I can stop thinking about it. I guess the generic strategy we need to be thinking of revolves around our limited bandwidth and how much we can do with it given the proper infrastructure.

Do NFTs that represent vector images and/or music notes have enough value to justify a layer-one existence? Unclear. Honestly we probably won't know until we try. That is the gift and curse of blockchain. Every door must be opened to see if there is a path forward.

Posted Using LeoFinance Beta



0
0
0.000
17 comments
avatar

Vector images typically have small file sizes, but not always. In my work in graphic design studios, I found that some (extremely complex) vector images could be several megabytes.

0
0
0.000
avatar

Right so we create an NFT project that requires them to be below a certain size, or the cost to mint them depends on the size (free market). I guess I didn't really dive into it further.

0
0
0.000
avatar

Yeah! let's write, code and build a full postscript RIP interpreter within the Hive blockchain @edicted! ;o)

0
0
0.000
avatar

Hive has a lot of possibilities but also many limitations. I came here to promote some of my music as a way to build a little side revenue and exposure and while that's been great and all the layer 2 tokens really don't provide much of anything. Also tried the NFT part with music but the demand simply isn't there. Perhaps a streaming platform for hive or maybe it would be worth putting videos on 3spk might be a new option I need to look into. Just seems to be a lot of odd and end front ends that don't have enough backing to really build them up into anything. Perhaps vector method as you said could be a option on layer1 and give it more value.

0
0
0.000
avatar

The demand isn't there because the music has to be a part of something else.
Imagine if there was some popular game that people played and the music was tacked onto that. Gives a built in audience rather than trying to grow it from zero.

0
0
0.000
avatar

Hive blockchain is a framework that can accommodate many apps, while its prime channel is still blogging. I would see it as the Godfather of all blogging sites in the world, just if we had a more user-friendly way to launch a new blog like an actual website. Simply put at the disposal of users a Hive UX that they can use with different functions like tokenizations and so on. That will make a killing out of it!

Posted Using LeoFinance Beta

0
0
0.000
avatar

It would be extremely difficult to do that I would think, especially on a layer 1 level with music. The music files can easily be stored on IPFS and then integrated into your post as a media file that way or just using the 'audio' HTML tag. It just needs an online source. For example, I just loaded up a song to nft.storage which is an IPFS provider. I can then take the URL for the source and the use it in an audio tag like so

[audio src="https://bafybeieskzhxy72lgfwph4hy6egcxpaethhknfwaewwylw6e22cm6ai7gi.ipfs.nftstorage.link/"]

You would replace the [ ] with <>. I can't show in a text manner because when you use the <>, it actually shows a playable file like this...

0
0
0.000
avatar

There is another aspect of SVGs
They are really text files. And so can be (could have been) uploaded to the HIVE (steem) block chain in total.

example of a rectangle

<svg width="400" height="110">
<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
</svg>



The thing with SVGs is that every entity is a line of text.
So, i can make a bar graph in a few K, but if you are doing a fuzzy animal, every tuft is a line.

0
0
0.000
avatar

You can make JPEGs small if you decrease the resolution and increase compression. If I recall correct, I have seen 20-40 photos on a single floppy.

0
0
0.000
avatar

We might be inviting more trouble than we realise. Images can be inappropriate/exploitative. I'm not sure what resolution it needs to be, to be problematic; but I'd rather stick with text links to images hosted elsewhere.

0
0
0.000
avatar

Sure, but what's really on the blockchain is all just text.
The actual image has to be interpreted by some 3rd party program.
At the end of the day we have to think about these things in a different way.
If something problematic CAN be invited, it will be.
Just a matter of time for a permissionless network.

0
0
0.000
avatar

If that third party software was lost to time, then those images would be lost too.

0
0
0.000
avatar

Unfortunately the software will not be lost to time, revolution is gradually taking place.

0
0
0.000
avatar

Do NFTs that represent vector images and/or music notes have enough value to justify a layer-one existence? Unclear. Honestly we probably won't know until we try. That is the gift and curse of blockchain. Every door must be opened to see if there is a path forward— The possibilities which blockchain technology seems to possess is quite an unending one . Only time of course can tell if these possibilities will be of ultimate good or otherwise. Nothing can stop evolution!

0
0
0.000
avatar

The synergy and interface that exist in hive blockchain makes the vector object easy to cynchronize.

0
0
0.000
avatar

Glad you have thought that can put Hive way ahead.
How about gaming in layer one ? Maybe not
It seems the technology that can take Hive to the next level doesn’t exist yet.

I will wait.

Posted using LeoFinance Mobile

0
0
0.000