User:Objectz/Asymptote/Samsung Logo


[asy] // ALL CODE BELONGS TO OBJECTZ. DO NOT STEAL WITHOUT PERMISSION.  // background fill((0,0)--(512,0)--(512,-384)--(0,-384)--cycle,black);  // 1s draw((137,-181)--(137,-177)--(135,-173)--(131,-171)--(126,-170)--(125,-170)--(111,-176)--(111,-185)--(123,-195)--(130,-201)--(129,-205)--(124,-207)--(119,-200)--(110,-200)--(110,-203)--(112,-208)--(116,-212)--(122,-213)--(126,-213)--(131,-212)--(138,-206)--(138,-197)--(133,-191)--(119,-182)--(120,-177)--(122,-175)--(126,-175)--(128,-178)--(129,-181)--(137,-181)--cycle,rgb(20,40,160));  fill((137,-181)--(137,-177)--(135,-173)--(131,-171)--(126,-170)--(125,-170)--(111,-176)--(111,-185)--(123,-195)--(130,-201)--(129,-205)--(124,-207)--(119,-200)--(110,-200)--(110,-203)--(112,-208)--(116,-212)--(122,-213)--(126,-213)--(131,-212)--(138,-206)--(138,-197)--(133,-191)--(119,-182)--(120,-177)--(122,-175)--(126,-175)--(128,-178)--(129,-181)--(137,-181)--cycle,rgb(20,40,160));  // a draw((157,-208)--(158,-203)--(159,-198)--(160,-189)--(161,-182)--(162,-176)--(163,-173)--(164,-173)--(165,-179)--(166,-185)--(167,-191)--(168,-200)--(169,-207)--(170,-211)--(179,-211)--(179,-209)--(178,-205)--(177,-200)--(176,-195)--(175,-188)--(174,-183)--(173,-179)--(172,-175)--(171,-172)--(155,-172)--(154,-175)--(153,-180)--(152,-185)--(151,-192)--(150,-197)--(149,-201)--(148,-206)--(148,-211)--(156,-211)--(157,-208)--cycle,rgb(20,40,160)); fill((157,-208)--(158,-203)--(159,-198)--(160,-189)--(161,-182)--(162,-176)--(163,-173)--(164,-173)--(165,-179)--(166,-185)--(167,-191)--(168,-200)--(169,-207)--(170,-211)--(179,-211)--(179,-209)--(178,-205)--(177,-200)--(176,-195)--(175,-188)--(174,-183)--(173,-179)--(172,-175)--(171,-172)--(155,-172)--(154,-175)--(153,-180)--(152,-185)--(151,-192)--(150,-197)--(149,-201)--(148,-206)--(148,-211)--(156,-211)--(157,-208)--cycle,rgb(20,40,160));  // m draw((190,-172)--(190,-211)--(198,-211)--(198,-173)--(200,-173)--(207,-211)--(216,-211)--(224,-174)--(225,-174)--(225,-211)--(234,-211)--(234,-172)--(218,-172)--(212,-204)--(206,-172)--(190,-172)--cycle,rgb(20,40,160)); fill((190,-172)--(190,-211)--(198,-211)--(198,-173)--(200,-173)--(207,-211)--(216,-211)--(224,-174)--(225,-174)--(225,-211)--(234,-211)--(234,-172)--(218,-172)--(212,-204)--(206,-172)--(190,-172)--cycle,rgb(20,40,160));  // 2s draw((273,-181)--(273,-177)--(271,-173)--(267,-171)--(262,-170)--(261,-170)--(247,-176)--(247,-185)--(259,-195)--(266,-201)--(265,-205)--(260,-207)--(255,-200)--(246,-200)--(246,-203)--(248,-208)--(252,-212)--(258,-213)--(262,-213)--(267,-212)--(274,-206)--(274,-197)--(269,-191)--(255,-182)--(256,-177)--(258,-175)--(262,-175)--(264,-178)--(265,-181)--(273,-181)--cycle,rgb(20,40,160)); fill((273,-181)--(273,-177)--(271,-173)--(267,-171)--(262,-170)--(261,-170)--(247,-176)--(247,-185)--(259,-195)--(266,-201)--(265,-205)--(260,-207)--(255,-200)--(246,-200)--(246,-203)--(248,-208)--(252,-212)--(258,-213)--(262,-213)--(267,-212)--(274,-206)--(274,-197)--(269,-191)--(255,-182)--(256,-177)--(258,-175)--(262,-175)--(264,-178)--(265,-181)--(273,-181)--cycle,rgb(20,40,160));  // u draw((286,-172)--(286,-203)--(288,-209)--(291,-211)--(295,-212)--(299.5,-212.5)--(305,-212)--(310,-210)--(312,-208)--(313,-205)--(313,-172)--(305,-172)--(305,-203)--(302,-207)--(298,-207)--(294,-204)--(294,-172)--(286,-172)--cycle,rgb(20,40,160)); fill((286,-172)--(286,-203)--(288,-209)--(291,-211)--(295,-212)--(299.5,-212.5)--(305,-212)--(310,-210)--(312,-208)--(313,-205)--(313,-172)--(305,-172)--(305,-203)--(302,-207)--(298,-207)--(294,-204)--(294,-172)--(286,-172)--cycle,rgb(20,40,160));  // n draw((327,-211)--(335,-211)--(335,-177)--(336,-177)--(347,-211)--(360,-211)--(360,-172)--(352,-172)--(352,-204)--(351,-204)--(341,-172)--(327,-172)--(327,-211)--cycle,rgb(20,40,160)); fill((327,-211)--(335,-211)--(335,-177)--(336,-177)--(347,-211)--(360,-211)--(360,-172)--(352,-172)--(352,-204)--(351,-204)--(341,-172)--(327,-172)--(327,-211)--cycle,rgb(20,40,160));  // g draw((392,-194)--(388,-194)--(388,-190)--(401,-190)--(401,-202)--(399,-208)--(391,-212)--(385,-212)--(379,-211)--(374,-206)--(373,-203)--(373,-180)--(375,-175)--(378,-172)--(384,-170)--(392,-170)--(396,-172)--(400,-176)--(401,-183)--(392,-183)--(392,-179)--(390,-176)--(384,-176)--(382,-180)--(382,-203)--(385,-206)--(389,-206)--(392,-203)--(392,-194)--cycle,rgb(20,40,160)); fill((392,-194)--(388,-194)--(388,-190)--(401,-190)--(401,-202)--(399,-208)--(391,-212)--(385,-212)--(379,-211)--(374,-206)--(373,-203)--(373,-180)--(375,-175)--(378,-172)--(384,-170)--(392,-170)--(396,-172)--(400,-176)--(401,-183)--(392,-183)--(392,-179)--(390,-176)--(384,-176)--(382,-180)--(382,-203)--(385,-206)--(389,-206)--(392,-203)--(392,-194)--cycle,rgb(20,40,160)); [/asy]

Recently, I have been working on the Samsung Logo with Asymptote, and I finished it in just a few hours!


More Information

Inspiration

After seeing piphi's logos with Asymptote, I decided to make logos with Asymptote too.

Starting Off

First, I copied an image of the Samsung logo to my clipboard, and then I pasted it in Microsoft Paint.


Coloring

I used the pipette tool to find the color, and then I used it on making the Samsung logo. Here is the color below.

[asy] axialshade(unitsquare,rgb(20,40,160),(0,0),rgb(20,40,160),(1,1)); [/asy]

Overview

Overall, this was not really that hard. It didn't really consist of any gradient functions and other stuff, it only consisted of line segments and filling.

See Also