Log In  
Follow
adsmz
Follow

I mostly do music but also sometimes different art

Cart #34327 | 2016-12-28 | Code ▽ | Embed ▽ | No License
2

press z to generate text using a markov chain

this is almost done. almost. I'll keep working on this until it works. or until someone else makes it work.

usage:
place the markov function in your code

markov(input text,n-gram length,[output length]
input text - string, required
  this is the string you want to use to teach the neural network with. it's used to populate a table of n-grams, then later to build the output string

n-gram length - integer, required
  the length of each n-gram. an n-gram is a string of characters with a length of n. these are pulled out of the input text by stepping through it character by character

output length - integer, default 32
  how long the outputted string should be

known issues:

  • lookit that wacky output
  • it sometimes hangs if the input text is too short (this shouldn't be a problem with a good paragraph. a standard lorem ipsum or navy seal pasta works fine)
  • it's probably poorly optimized and messy

based on this

with help from Sean, justinj, and TheTomster in discord

P#34329 2016-12-27 20:35 ( Edited 2016-12-28 01:35)

Cart #33981 | 2016-12-22 | Code ▽ | Embed ▽ | No License
2

eventually this will have a markov chain to procedural generate nick breckon thoughts
right now it has a small selection of parred down tweets from @nickbreckon

P#33983 2016-12-22 15:39 ( Edited 2016-12-29 13:27)

Cart #33250 | 2016-12-09 | Code ▽ | Embed ▽ | No License

https://twitter.com/FrogCroakley/status/805888729218945024

Click on circles.

Do it.

P#33248 2016-12-09 13:48 ( Edited 2016-12-11 00:45)

Cart #32697 | 2016-11-22 | Code ▽ | Embed ▽ | No License
5

This is a thing for my noise project. It draws random lines and plays random notes while slowly corrupting memory.
Not much to look at, but still fun.

It's my first cart, and it's entirely a toy. Maybe next I'll do something interactive.

P#32698 2016-11-22 11:36 ( Edited 2016-12-10 00:00)

Follow Lexaloffle:        
Generated 2021-06-12 15:03:56 | 0.099s | Q:18