Stargate (Dwitter 20584)

Creative

generative art demo

SHOW HN2020

377points
55comments
#96of 3,028 in 2020
Top 4%of 2020 by points

How HN took it

MixedNo clear lean

11 positive, 10 neutral or asking, 2 mixed, 4 critical, out of 27 comments about the project. Thread score +0.18.

Execution: 2 for, 2 againstIdea: 3 for, 0 againstPerformance: 1 for, 2 againstDocs: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Impressive and cool work in tiny code

    From 3 comments
    • never heard of this website, really cool! and amazed at what you can do with 140 chars of javascript and some math :D
      holler on HN
    • Nice to see that the spirit of mid-90s demo scene never really died.
      btbuildem on HN
    • This is actually really cool, nice work komrade
      downsouthkakona on HN
  • Clever use of fillRect and bitwise tricks

    From 2 comments
    • I'll try to give a rough overview of what's going on here. The function z produces the puddle (ahem - "event horizon") through a technique I accidentally found from "orthogonal"…
      tomxor on HN
    • Thanks! I tried deobsfucating as much as I could, but I had to go. https://jsfiddle.net/omgz5xjd/16/ I also missed tomxor's explanation which made things more clear. Initially I…
      CapsAdmin on HN

Objections

  • Dwitter's CSP blocks pasting the code into the console

    From 1 comment
    • how can a person actually run this? If I paste it into my JS console, I just see Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an…
      knodi123 on HN
  • Uses significant memory and CPU for the effect

    From 2 comments
    • I love it. And it only uses 61MiB of RAM!
      PTOB on HN
    • And an entire CPU core. I still love it as well though.
      bartread on HN

Requests

  • Add execution of 140-character snippets to Nitter

    From 1 comment
    • Just curious, is it possible add execution of 140 chars snippets (in JS, Py, etc.) as feature to Nitter?[0] [0] https://github.com/zedeus/nitter
      app4soft on HN

Questions

  • How to run the code outside Dwitter

    From 2 comments
    • how can a person actually run this? If I paste it into my JS console, I just see Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an…
      knodi123 on HN
    • What @tomxor said! To try it out, go to https://example.com and run the following setup code first: ``` c = document.createElement('canvas'); document.body.appendChild(c); x =…
      gregsadetsky on HN
  • How the eval unescape packing works

    From 2 comments
    • Why does escape'ing and un-escape'ing that string result in code?
      lxe on HN
    • There is a critical bit of regex in between. In short this technique unpacks two ASCII characters from each unicode point of the input string. Any ASCII safe code can be packed…
      tomxor on HN

Alternatives named

  • ShaderToy

    From 1 comment
    • Check out ShaderToy if you haven't seen it before: https://www.shadertoy.com/browse
      trollied on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/25088683)