+ 11

Random Image Generator!

Just posted a new web code (https://code.sololearn.com/WFs5EGOxardy/#html) which can be used to generate random images. Seeing multiple password generators, I got this idea. As the Java version of random image generator doesn't work in code playground, I made a web version. Check it out and help me make it better.

26th Mar 2017, 6:32 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
10 Answers
+ 15
Hatsy Rei joining the party. :> https://code.sololearn.com/c2ITF6Zyvy6n/?ref=app
26th Mar 2017, 9:20 AM
Hatsy Rei
Hatsy Rei - avatar
+ 14
@Krishna: Nice but what was the concept/logic used to generate the images
26th Mar 2017, 7:07 AM
Chirag Bhansali
Chirag Bhansali - avatar
+ 11
Very nice @Krishna sir but only those colourful lines are displayed in the output😼😼
26th Mar 2017, 6:36 AM
Dev
Dev - avatar
+ 10
@Chirag : If we do this in Java, we allot a random color to each pixel of the image. What I did here is, I added an IMG (in JavaScript using DOM) of width 1px and height 1px for each pixel and allotted a random color.
26th Mar 2017, 7:11 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 10
@Hatsy yours is better:-)
26th Mar 2017, 9:21 AM
Dev
Dev - avatar
+ 9
@Dayve : Thanks for mentioning that. It worked in computer. Now I have to make it work in app.
26th Mar 2017, 6:40 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 8
@Dayve : It's working now.
26th Mar 2017, 6:44 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 8
Awesome :D
26th Mar 2017, 8:17 AM
MrCoder
MrCoder - avatar
+ 5
Can I join too: Ruby Random Image Generator :D https://code.sololearn.com/cCsxJ1mojT6x/#
26th Mar 2017, 12:26 PM
MrCoder
MrCoder - avatar
+ 3
I have idea how to use this project with another one
26th Mar 2017, 7:12 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar