Skip to main content
Commonmark migration
Source Link

#Starry, 11428.1894502 10904.3079277 10874.1307958

Starry, 11428.1894502 10904.3079277 10874.1307958

##Explanation

Explanation

#Starry, 11428.1894502 10904.3079277 10874.1307958

##Explanation

Starry, 11428.1894502 10904.3079277 10874.1307958

Explanation

edited body
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707

In order to make the program output all 123,520 pixels required I divided the image into 8 horizontal bands and created 7 loops the first 6 each print a band while the last one prints two bands of the same color. The code consists of a header, which tells the ppm file how to format itself and the 57 aforementioned loops.

In order to make the program output all 123,520 pixels required I divided the image into 8 horizontal bands and created 7 loops the first 6 each print a band while the last one prints two bands of the same color. The code consists of a header, which tells the ppm file how to format itself and the 5 aforementioned loops.

In order to make the program output all 123,520 pixels required I divided the image into 8 horizontal bands and created 7 loops the first 6 each print a band while the last one prints two bands of the same color. The code consists of a header, which tells the ppm file how to format itself and the 7 aforementioned loops.

Improved to a 9 band version
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707

#Starry, 10904 11428.1894502 10904.3079277 10874.30792771307958

You can Try It onlineTry It online however it seems that the output is truncated so you will not get the full image.

This program outputs an uncompressed ppm files to standard out.

          + +* +* +* +* .        +.          + +* + .        + + +.          +*. +*. + . + +* +* +* +* +*. + .      + + +* +* +* +* +* +* +* +*  + *. + .
 +         + +* +* +* +*        +  *      +* +* +* +* +* +* +* +** +   + `  +         + +        +*.. + . +        + +  *+** + *+**. + .      + +. +*+ + +.*.*. + .  +      + * + ''
  + +   +  `  +       + + + +**. +* +*. + .          + +        +*.. + .         + +* +* +* +* +*. + .  +      + * +  ''
  + +   +   ` +* + + + +** + +**. + .      + + + +..* . + +. +* +*    + + +. +* +*.. + .  +      + * +   ''
  + +   +    `  +       + + +* +*. + +**. + . + + +  ***       + *. + +**. + +  *.      + + +. + +*+**. +* +**. + .  +      + * +    ''
  + +   +     `  + + +  *        + +.. + * *. + .      + + +... + .        +*.. + . ++* ++* ++* +* **+*      + *. + .  +      + * +     ''
  + +   +      `  +            + +.. +*+ .          + +         +*.. + . + + +  **      + *. + .  +      + * +.      ''
  + .+   + +*       `  +         + + +..  + + .  + + + +.*.  + + .  + + +.*. + .  +      + * +       ''

This program outputs an uncompressed ppm files to standard out.

Outputenter image description here

In order to make the program output all 123,520 pixels required I divided the image into 58 horizontal bands and created 57 loops the first 6 each intended to print a band while the last one prints two bands of the bandssame color. The code consists of a header, which tells the ppm file how to format itself and the 5 aforementioned loops.

#Starry, 10904.3079277

You can Try It online however it seems that the output is truncated so you will not get the full image.

          + +* +* +* +* .        +.          + +* + .        + + +.          +*. +*. + . + +* +* +* +* +*. + .      + + +* +* +* +* +* +* +* +*  + *. + .
         + +* +* +* +*        +  *      +* +* +* +* +* +* +* +* +   + `  +         + +        +*.. + . +        + +  *  *. + .      + +. +* +.. + .  +      + * + ''
  + +   +  `  +         + + +*.. + . + +  *          +*. + . + +  *  + + +* +*   +   +*. + .  +      + * +  ''
  + +   +   `  +       + + +* +*. + +**. + . + + +  **       + *. + . + +  *         + +* +* +**. + .  +      + * +   ''
  + +   +    `  +            + +.. + .          + +         +*.. + . + + +  **      + *. + .  +      + * +    ''
  + +   +     `  +      + + +* +*.. + .         +.            +. + .          +.       +. + .  +      + * +     ''

This program outputs an uncompressed ppm files to standard out.

Output

In order to make the program output all 123,520 pixels required I divided the image into 5 horizontal bands and created 5 loops each intended to print one of the bands. The code consists of a header, which tells the ppm file how to format itself and the 5 aforementioned loops.

#Starry, 11428.1894502 10904.3079277 10874.1307958

You can Try It online however it seems that the output is truncated so you will not get the full image.

This program outputs an uncompressed ppm files to standard out.

          + +* +* +* +* .        +.          + +* + .        + + +.          +*. +*. + . + +* +* +* +* +*. + .      + + +* +* +* +* +* +* +* +*  + *. + .
 +         + +* +* +* +*        +  *      +* +* +* +*  * +   + `  +         + +        +*.. + . + + +** + +**. + .      + + + + +.*.*. + .  +      + * + ''
  + +   +  `  +       + + + +**. +* +*. + .          + +        +*.. + .         + +* +* +* +* +*. + .  +      + * +  ''
  + +   +   `  + + + +** + +**. + .      + + + +..*. + .      + + +. +* +*.. + .  +      + * +   ''
  + +   +    `  +       + + +* +*. + +**. + . + +  *         + +**. + .      + + +. + +**. +*. + .  +      + * +    ''
  + +   +     `  + + +  *        + +  * *. + .      + + +... + .         + +* +* +* +* +*      + *. + .  +      + * +     ''
  + +   +      `  +            + +.. + .          + +         +*.. + . + + +  **      + *. + .  +      + * +      ''
  + +   + +*       `  +         + + +..  + + .  + + + +.*.  + + .  + + +.*. + .  +      + * +       ''

enter image description here

In order to make the program output all 123,520 pixels required I divided the image into 8 horizontal bands and created 7 loops the first 6 each print a band while the last one prints two bands of the same color. The code consists of a header, which tells the ppm file how to format itself and the 5 aforementioned loops.

Golfed a bit to make room for future changes
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707
Loading
Improved answer
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707
Loading
Post Undeleted by Wheat Wizard
Answer is now up to spec!
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707
Loading
Post Deleted by Wheat Wizard
Painted a picture with my program
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707
Loading
Source Link
Wheat Wizard
  • 104.5k
  • 23
  • 304
  • 707
Loading