• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~creative with the tag "code". Back to normal view / Search all groups
    1. What is the most creative app or website you know of?

      HELLO TILDES USERS. IT IS I, FELLOW HUMAN, BISHOP. As you may have read in an earlier post of mine (ok probably not it was a one-off comment, not like I reinforced the thought anywhere.) I do...

      HELLO TILDES USERS. IT IS I, FELLOW HUMAN, BISHOP.

      As you may have read in an earlier post of mine (ok probably not it was a one-off comment, not like I reinforced the thought anywhere.)

      I do indeed hold the belief that code can be, itself, art, in the right context.

      Or, rather, that code can be used for artistic purposes.

      I dunno.

      That's why I'm posting.

      What would you say is the most artistic or, at least, creatively designed website or mobile app that you've seen?

      I've got some creativity a-stewin' away in my head, and I need a new excuse to kill some time on frontend.

      So, fellow humans, hit me with your best shot duh-nuh-nuh-nuh fire away.

      What ya got?

      (@mods fix my tags please. Not sure what to put, but you might have a good idea. Ya boy's had a few.)

      18 votes
    2. I made a program that creates the colour palette of a film

      I saw these things originally on Reddit that extracted the average colour of frames from films and put them together to make a colour palette for said film, the original creator has a site called...

      I saw these things originally on Reddit that extracted the average colour of frames from films and put them together to make a colour palette for said film, the original creator has a site called The Colors of Motion. I thought it would be cool to try and create a simple PowerShell script that does the same thing.

      Here are a few examples:
      Finding Nemo: https://i.imgur.com/8YwOlwK.png
      The Bee Movie: https://i.imgur.com/umbd3co.png
      Harry Potter and the Philosopher's Stone: https://i.imgur.com/6rsbv0M.png

      I've hosted my code on GitHub so if anyone wants to use my PowerShell script or suggest some ways to improve it feel free. You can use pretty much any video file as input as it uses ffmpeg to extract the frames.

      GitHub link: https://github.com/ArkadiusBear/FilmStrip

      17 votes
    3. I finally finished a novel

      I've finally finished writing something. It's been about four years since I actually finished something nicely. I'm entering the editing phase, which generally takes longer... But I'm a bit...

      I've finally finished writing something. It's been about four years since I actually finished something nicely.

      I'm entering the editing phase, which generally takes longer... But I'm a bit excited.

      Hopefully this is an acceptable thing to talk about, and I'm going about things the right way.

      So... To spin off into discussion, here's two things:

      A part of the story:

      The ground rose up and struck Raul in the face.

      He blinked, stumbling backwards, seeing his master standing nearby.

      The old man was glaring, his hands clutched around a brightly coloured stone.

      Raul opened his mouth to question, but the old man was whisked away to a distance hillside, and the boy found himself tumbling head over heals backwards down a hillside.

      He scrambled onto his knees, staring as he found himself on the shore of the lighthouse.

      His master placed a solid hand on his shoulder, and muttered gibberish.

      Raul glanced up, but found himself staring at the light of the lighthouse.

      Spinning.

      A bright light, round and round.

      Lightning struck him, and Raul screamed, stumbling backwards.

      The rod lay in front of him.

      He tore his gaze away with effort, and saw his master, hands outstretched, the stone of red, gold and silver floating between them.

      Almost as astonishing, the stone was clean.

      A hammer hit him between the eyes.

      Raul found himself stumbling behind his father, watching as the old man struck stone, separated it, revealing the river of solid copper within it.

      "Boy!"

      I'm hoping I've got the grammar at least semi-right. My illness means I can forget words, or my brain can replace words at random with others that it thinks are related.

      Any guidance or critique is welcome. (I'd give a bigger quote... But this is probably more than enough to discuss.)

      The build script I'm using:

      #!/bin/sh
      
      set -e
      
      if [ -z "$1" ]; then
        echo 'Please provide an output file name.' >&2
        exit 1
      fi
      
      tmp=$(mktemp)
      
      echo 'Building...'
      
      cat title.txt > "$tmp"
      echo '' >> "$tmp"
      cat LICENSE.md >> "$tmp"
      echo '' >> "$tmp"
      cat Prologue.md >> "$tmp"
      
      for file in 0*.md; do
        echo '' >> "$tmp"
        cat "$file" >> "$tmp"
      done
      
      for file in 1*.md; do
        echo '' >> "$tmp"
        cat "$file" >> "$tmp"
      done
      
      echo 'Converting...'
      
      pandoc --toc "$tmp" -o "$1" 2>/dev/null
      
      rm "$tmp"
      
      echo 'Done'
      

      title.txt is basically just YAML markup for pandoc. The other files should be fairly obvious.

      I'm silencing pandoc's output, because I make use of a self-reference to add comments to the Markdown, that get killed by the parser and never make it to the output:

      [//]: # (This is a Markdown comment. Isn't that cool?)

      However, as all the references point to themselves, pandoc warns.

      I'm using pandoc this time around, because it produces fairly clean files. I've used GitBook and Calibre in the past, and though the ebooks they produce work and look okay, the amount of crazy markup they produce means the books lag on some ereaders.

      However, that does make a lot of back and forth. Building, checking output, rebuilding, etc.

      20 votes