bla2 6 years ago

If you like this, you'll like https://www.dwitter.net

  • ateesdalejr 6 years ago

    Yes! I've seen dwitter too! Some of the things made there are simply amazing. Of those being the conway's game of life simulations!

verytrivial 6 years ago

Reminds me of the SuperCollider audio "album" of tracks encoded under the old 140 character limit. I still often use this for coding background music.

https://supercollider.github.io/community/sc140

  • sincerely 6 years ago

    If you like this type of music, you should check out the (horribly-named) genre IDM for some slightly longer tracks - some standouts are Aphex Twin, Autechre, and Venetian Snares

  • inostia 6 years ago

    Very cool

    • verytrivial 6 years ago

      I have just noticed that at archive.org the track names are in fact the entire source definition of the track. Ha!

hawktheslayer 6 years ago

I am a huge fan of Wilkinson's Grammar of Graphics and Hadley's implementation of them in ggplot2. Thanks for sharing this; it helps demo the power of the grammar. Since learning GG it has made me think of plotting in an additive fashion instead of before when Excel would do most of it for me and I would often be forced to remove layers I didn't need.

berbec 6 years ago

New category for IOCCC: 'Tweetable'?

yesenadam 6 years ago

That's a great site, thanks. It's not common finding such artistic taste, programming/mathematical skill, and capacity to explain well, in the same person.

bernardino 6 years ago

I love this!

Do you think it's worth learning just to make art? If so, where do I start?

simlevesque 6 years ago

They are using external libraries... I can't tell if it's a joke but if it's not then no, you didn't do it in less than 280 characters. Otherwise I can generate the mona lisa with 3 characters: m()

  • jfries 6 years ago

    This kind of thing always needs some arbitrary line drawing.

    Even if there no external libraries and only pure machine code, that machine code still runs in an environment defined by hardware components, and those hardware components have a lot of thought and effort behind them.

    At what level is it no longer cheating?

  • Gracana 6 years ago

    Each example contains the equation/algorithm used to create the image. Yours does not.

  • pavel_lishin 6 years ago

    Do your programs also include the instructions for mining metals and manufacturing CPUs?

    • lostgame 6 years ago

      Ehh...that's a stretch.

      Typically, 'scene' demos like this intended to be very few lines of code run in assembly without the use of libraries, something that speaks directly to the metal, certainly usually not a higher-level language...but I've never heard of building hardware itself as being part of a 'demo' like this.

      I get that you're exaggerating, but I do agree with people's sentiment that if it's using a library to handle the drawing, it's also a stretch to call it 280 characters.

      • khedoros1 6 years ago

        I think the key for 'scene' type demos is more that the code is run in some particular environment, and the impressive part is how far the demo stretches the capabilities of the environment, and how creatively it presses against the constraints.

        280 characters of R+ggplot generating art is at least cute. It's a powerful environment, but constrained input data.

        I mean, no one's going to say that a demo like kkrieger isn't impressive (the famed "96KB FPS") despite using 3D rendering APIs and such, right?

        • lostgame 6 years ago

          I’m not saying it’s not impressive. I’m just saying I actually kind of agree with the poster who stated it’s kinda using a library as expected

  • delinhabit 6 years ago

    3 characters is still less than 280, right? It doesn't look like you're contradicting their claim in any way.

    Could you elaborate a little bit more. I'm not sure I understand your point.

    • leggomylibro 6 years ago

      I think they mean that libraries like 'ggplot2' and 'dplyr' and 'TurtleGraphics' use a LOT more than 280 lines of code.

      When people see 'small code generates pretty graphics', they usually don't equate that to, 'a library was used as intended.'

      They think of projects that use math in interesting ways to wring unexpected results out of very limited conditions. Stuff like this: http://www.ozone3d.net/tutorials/intro_demoscene.php

      It's cool and fun to graph mathematical patterns, but it does seem a little disingenuous to call it "Tiny Art".

      • platz 6 years ago

        it's tiny because it can be expressed in a tiny respresentation

        • everyone 6 years ago

          Ive just come up with a symbol that represents the entire collection of the Louvre.

          • platz 6 years ago

            That is a symbol with 0 re-use and therefore 0 abstraction. That is much less interesting than a represtentation that can generalize across a wide range of uses

            • gonvaled 6 years ago

              No no, it is actually extremely flexible and reusable:

              draw("louvre")

              It has support for lots of collections.

    • adadad3442 6 years ago

      It's silly to brag about your minimal code if you use external libraries that contain millions of characters.

      • delinhabit 6 years ago

        But I don't think that was the point of that article. It says:

        >> Now that Twitter allows 280 characters, the code of some drawings I have made can fit in a tweet. In this post I have compiled a few of them.

        It's about a list of code snippets that you can send around on Twitter, that can generate interesting "art". It doesn't claim to be the shortest code that can be used to generate art. It just says it can fit inside a tweet.

dzaragozar 6 years ago

The (2017) tag adds very little to the title...