News for hackers. Stuff that matters.
Re:Tiny Art in Less Than 280 Characters (2017) by simlevesque on Tuesday February 20, 2018 @03:35PM (#16423936)
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()
Re:Tiny Art in Less Than 280 Characters (2017) by jfries on Tuesday February 20, 2018 @04:23PM (#16424330)
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?

Re:Tiny Art in Less Than 280 Characters (2017) by bunderbunder on Tuesday February 20, 2018 @05:33PM (#16424881)
> At what level is it no longer cheating?

If specialized audio/video processing hardware is allowed then here: https://linusakesson.net/scene/a-mind-is-born/

Or, if that's also cheating, then here: https://linusakesson.net/scene/bitbanger/

Re:Tiny Art in Less Than 280 Characters (2017) by Gracana on Tuesday February 20, 2018 @05:38PM (#16424927)
Each example contains the equation/algorithm used to create the image. Yours does not.
Re:Tiny Art in Less Than 280 Characters (2017) by pavel_lishin on Tuesday February 20, 2018 @04:24PM (#16424339)
Do your programs also include the instructions for mining metals and manufacturing CPUs?
Re:Tiny Art in Less Than 280 Characters (2017) by lostgame on Tuesday February 20, 2018 @06:45PM (#16425431)
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.

Re:Tiny Art in Less Than 280 Characters (2017) by khedoros1 on Tuesday February 20, 2018 @08:28PM (#16426060)
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?

Re:Tiny Art in Less Than 280 Characters (2017) by lostgame on Wednesday February 21, 2018 @01:00AM (#16427212)
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
Re:Tiny Art in Less Than 280 Characters (2017) by delinhabit on Tuesday February 20, 2018 @03:48PM (#16424046)
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.

Re:Tiny Art in Less Than 280 Characters (2017) by leggomylibro on Tuesday February 20, 2018 @03:55PM (#16424121)
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".

Re:Tiny Art in Less Than 280 Characters (2017) by platz on Tuesday February 20, 2018 @04:59PM (#16424628)
it's tiny because it can be expressed in a tiny respresentation
Re:Tiny Art in Less Than 280 Characters (2017) by everyone on Tuesday February 20, 2018 @07:39PM (#16425752)
Ive just come up with a symbol that represents the entire collection of the Louvre.
Re:Tiny Art in Less Than 280 Characters (2017) by platz on Tuesday February 20, 2018 @07:52PM (#16425830)
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
Re:Tiny Art in Less Than 280 Characters (2017) by gonvaled on Tuesday February 20, 2018 @10:23PM (#16426583)
No no, it is actually extremely flexible and reusable:

draw("louvre")

It has support for lots of collections.

Re:Tiny Art in Less Than 280 Characters (2017) by adadad3442 on Tuesday February 20, 2018 @04:00PM (#16424159)
It's silly to brag about your minimal code if you use external libraries that contain millions of characters.
Re:Tiny Art in Less Than 280 Characters (2017) by delinhabit on Tuesday February 20, 2018 @06:00PM (#16425094)
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.