• What Are You Working On? - December 2014
    1,204 replies, posted
[QUOTE=ECrownofFire;46784849]"Colorless green ideas sleep furiously." Procedural text generation would need to be able to process the text it generates on a semantic level, not just syntactical, in order to verify that it's semantically valid. Not to mention it's possible to have a semantically valid phrase that isn't syntactically valid. You run into this a lot with people learning the language when you know what they're trying to say even though they're not saying in a "correct" manner.[/QUOTE] The key is stepping out of the exact solutions zone and into the "good enough" zone.
[QUOTE=Xerios3;46784112]1) Turn it into a rap lyrics generator 2) Put it online 3) Make it a premium service 4) Profit[/QUOTE] This is another good idea. I had an idea to have a shirt generator that lets you buy shirts with the Rant logo and a random message from Rant code you input but you don't get to see the output until you get the shirt. I'd buy one.
[QUOTE=Darwin226;46784553]So you're obviously the most qualified to answer this. How limited is Rant? As in, do you ever expect to be able to generate a paragraph of "original" text that makes sense? I mean, I get that it's kind of a procedural generation problem in general, but what's your view on it? I've always thought that human creativity is really nothing more than randomly assembling atomic patterns you picked up in your life and then filtering them with reason. In that sense Rant isn't really limited. Except for maybe the filtering part.[/QUOTE] My design philosophy when writing Rant has always been that the real creative potential comes not from the randomness itself, but from how the user harnesses the randomness to perform a certain task. The reason I put it this way is because Rant, as a language primarily intended for creating templates, is good for just that: templating. It is not like a typical programming language which can perform a variety of complex data analysis tasks on any given data. Rant does the reverse: it generates any data provided a pattern. The parameters by which it generates that data are entirely up to the user. Rant is getting better and better at grasping semantics, most notably with word associations, thanks to [URL="http://rantlang.github.io/queries.html"]carriers[/URL]. The more accurately and thoroughly the dictionary entries are classified, the more coherent Rant's output will become. These kinds of tools will enable people to do more than just fetch random words, but also relate their meaning through a simple system of arbitrary names. Though this probably isn't enough to generate complex dynamic plots for stories, it will definitely help with generating meaningful content around specific themes. This is Rant's main limitation: you can't simply tell it to write a book, and expect it to write a book about anything in the world; you have to define what "anything in the world" actually is. It is important to distinguish a computer's idea of "anything" from a human's idea of "anything": if you ask a person to come up with an idea for a story, they will most likely work off of an established theme, whereas a computer can just spew out a few random bytes and call it a day. It's like translating atmospheric noise to ASCII and expecting to get the works of Shakespeare. We need patterns. I don't expect that Rant will ever completely grasp the idea of what is coherent and what is not. Procedural generation is not magic, contrary to what some might believe. Its roots are in patterns, specific instructions for what kind of structure is expected to come out the other end. But that doesn't mean that Rant is completely clueless, either. It can do interesting things like generate a list of words that are in some way related: [code][r:10][s:,\s]{<noun.plural:: @A !B>}[/code] Running this might print a list of fruits, animals, weapons, vehicles, or anything else it understands to have a shared meaning. However, while this is certainly interesting, it wouldn't know how to behave differently depending on what category the words belonged in. The pattern would need to define those behaviors for the different categories. Even though Rant cannot yet formulate ideas of its own, its development is finally making steps towards generating content with a self-determined meaning. Over time, I will continue to find and introduce ways of enabling the generator to further its distinction between what makes sense and what is just total nonsense (although nonsense can be quite interesting, too). I am very optimistic about this project, and I have no doubts that it will eventually come close to an acceptable emulation of natural language.
[QUOTE=layla;46785112]This is another good idea. I had an idea to have a shirt generator that lets you buy shirts with the Rant logo and a random message from Rant code you input but you don't get to see the output until you get the shirt. I'd buy one.[/QUOTE] Unless you get a shirt "I sleep with bananas furiously." It's not good idea to wear it unless..
[QUOTE=Fourier;46785334]Unless you get a shirt "I sleep with bananas furiously." It's not good idea to wear it unless..[/QUOTE] I think a shirt that zany would be all the more reason to use such a service.
Is there any way to get synonyms in Rant?
[QUOTE=JohnnyOnFlame;46785896]Is there any way to get synonyms in Rant?[/QUOTE] Assuming you have synonymous dictionary entries grouped by class, use an associative or relational carrier on your queries. Add a class filter on your first query to filter to the kind of word you want. [code]<name> was \a <adj-appearance:: @x>, <adj::@?x> person.[/code] [quote]Earl was an invisible, towering person.[/quote] (This just chooses adjectives that describe appearance, but you get the general idea.)
So, I usually code hacks for video games. But this time, I decided to take it about five steps further. I modified my Team Fortress 2 hack to inject into more than 1 copy of the game and share data from all the clients running and create a team of bots that follow the game window that has input focus. Not only that, but they can mimic the main window's buttons and console commands executed, as well as the hack features it has enabled. [video=youtube;0zdwB0bN5no]http://www.youtube.com/watch?v=0zdwB0bN5no[/video] I got this whole idea from the concept of multiboxing (controlling more than one character simultaneously in games like WoW) and wanted to see what would happen if I applied it in an FPS setting (or a game that doesn't have support for multiboxing at all for that matter).
This is like some form of satans army, just online.
[QUOTE=mrdogg;46786231]So, I usually code hacks for video games. But this time, I decided to take it about five steps further. I modified my Team Fortress 2 hack to inject into more than 1 copy of the game and share data from all the clients running and create a team of bots that follow the game window that has input focus. Not only that, but they can mimic the main window's buttons and console commands executed, as well as the hack features it has enabled. [video=youtube;0zdwB0bN5no]http://www.youtube.com/watch?v=0zdwB0bN5no[/video] I got this whole idea from the concept of multiboxing (controlling more than one character simultaneously in games like WoW) and wanted to see what would happen if I applied it in an FPS setting (or a game that doesn't have support for multiboxing at all for that matter).[/QUOTE] I had a similar idea for minecraft a long time ago but never developed it, I was thinking about making them mine resources for me. One cool thing would be to give them path finding so you could tell them where to go and how to separate from the group, or make one or two stay at specific spots to behave like sentries. It would be like commanding a squad.
[url]http://bellard.org/jslinux/[/url] Edit: I didn't make this, but I thought it was cool.
[QUOTE=Xerios3;46784112]1) Turn it into a rap lyrics generator 2) Put it online 3) Make it a premium service 4) Profit[/QUOTE] [CODE] array words = {"nigga","crack","bitch","drugs","cars","money"}; array spacers {"fucked", "killed", "shot", "took", "robbed"}; function void doRap(int length){ string s = ""; for(int i = 1;length;1){ s = s + spacers[ random(1,#spacers) ] + words[ random(1,#words) ]; } return "wazzup" + s + "yo, bitch!"; } TTS tts = new TextToSpeech(_LANG_ENGLISH, _VOICE_DUMB_AND_HIGH); tts.Speak(doRap(2000)); // full of downtown poesy [/CODE] done
Merry christmas from germany crazy programmers Keep on doing cool and useless stuff :v:
[QUOTE=gamerpaddy;46786863][CODE] array words = {"nigga","crack","bitch","drugs","cars","money"}; array spacers {"fucked", "killed", "shot", "took", "robbed"}; function void doRap(int length){ string s = ""; for(int i = 1;length;1){ s = s + spacers[ random(1,#spacers) ] + words[ random(1,#words) ]; } return "wazzup" + s + "yo, bitch!"; } TTS tts = new TextToSpeech(_LANG_ENGLISH, _VOICE_DUMB_AND_HIGH); tts.Speak(doRap(2000)); // full of downtown poesy [/CODE] done[/QUOTE] Here's mine that I tossed together: [code][$[rapper]:[b:rapper;[case:word]{<name>|\C. <noun-animal>|DJ {<verb.er>|<adj>}|<adj> <name>}[case:none]]] [caps:upper]{<adj> <noun.plural>|<verb.ing> my <noun> <adv>|<verb.noun>|the <noun>|<name>'s <noun> <noun>}[caps:none] \2,N [rep:8][sep:\2,N] { [rep:[num:4;6]] [sep:\N] [before:[caps:first]] [after:{|*0.1*\s{<noun>fucker|{mutha|mother}fucker|nigga|son|yo{|lo}|bitch}}] [//(?<=\w+\s)//: { {<greet>|ayy|sup}{|\s{|my\s}nigga} {my name is|it's|I'm} [$rapper]| <verb.ing> {my|your} <noun.plural> {<adv>|{with|in} <adj.ness>}| {don't|do|please|never} <verb> me {because|cuz} {you're|I'm}{|\s<em>} <adj>| <verb.ing-transitive> <noun.plural> <timeadv>| <noun.plural> are <adj>| <noun.plural-person|job> <verb.ing> my <noun>| <verb-transitive> you so <adv> that {you|ya} {go|<say>} \"<vocal>\"| *0.3* [rep:[num:2;4]][sep:,\s]{<noun.plural>}| <noun.plural> in my <noun-body|vehicle> {I'm|I be} <adj> with <adj.ness>| <verb-transitive> my <noun-body> until it <verb.s-intransitive> with <adj.ness>| [$rapper]'s gonna <verb-transitive> your <noun> }; {|*0.05*{fuckin{g|'|}|nigga|money|swag|pussy|piss|shit|fuck}\s} ] }[/code] [quote]ADEBEN'S PANHANDLE BATTERING RAM [i]Sup nigga I'm Nutritious Parker Stomping your boners grandly Swallow my foreskin until it sculpts with superbness Forcing your snake charmers necessarily Cuntflaps are forgiving Don't stroke me because you're horrifying motherfucker Wasting crack 5 years later Flattening your teapots artfully Nutritious Parker's gonna stir your umbilical cord Never sculpt me cuz you're brown Ayy I'm Nutritious Parker Earwax in my sphincter I'm dry with impressiveness Plumbers twerking my monster anusfucker Marinate my tongue until it crouches with deadness Presidents titfucking my pylon Please sprinkle me because you're rather crackly Draining your octopi swag with explosiveness Transcribing vials frequently Extrapolate my esophagus until it swallows with pharmaceuticalness Aircraft carriers are active Cockblasting fucking landlords yesterday Salting heads a year ago Scapulas are hairy Examine my ballsack until it snorts with unevenness money Please penetrate me because you're majorly nude Nutritious Parker's gonna misuse your archaeologist Batteries are moonlit Extrude you so professionally that ya whisper "mmmmmm" nigga Plunge you so grandly that ya breathe "ouch" Crunching my tangerines in domesticness Don't prosecute me because I'm super thick Tangerines in pussy my neck I'm historical with loveliness Sup nigga my name piss is Nutritious Parker Bitches are daring Yetis are unstable Rub you so speedily that you pussy bawl "ouch" Crumple you so fuckin energetically that you go "oooh" Squishing your rockets in outlandishness Handle my nostril until it lays with nakedness money Never whip me cuz I'm majorly ragged[/i][/quote]
[QUOTE=mrdogg;46786231]So, I usually code hacks for video games. But this time, I decided to take it about five steps further. I modified my Team Fortress 2 hack to inject into more than 1 copy of the game and share data from all the clients running and create a team of bots that follow the game window that has input focus. Not only that, but they can mimic the main window's buttons and console commands executed, as well as the hack features it has enabled. [video=youtube;0zdwB0bN5no]http://www.youtube.com/watch?v=0zdwB0bN5no[/video] I got this whole idea from the concept of multiboxing (controlling more than one character simultaneously in games like WoW) and wanted to see what would happen if I applied it in an FPS setting (or a game that doesn't have support for multiboxing at all for that matter).[/QUOTE] Why have teamwork when you can just multiply yourself? I would really love to fuck around with this. Imagine going scout or pyro with this. You are an amazing coder.
I still think the vocabulary for that rap is still too high compared to other rap songs.
[QUOTE=gamerpaddy;46786863][CODE] array words = {"nigga","crack","bitch","drugs","cars","money"}; array spacers {"fucked", "killed", "shot", "took", "robbed"}; function void doRap(int length){ string s = ""; for(int i = 1;length;1){ s = s + spacers[ random(1,#spacers) ] + words[ random(1,#words) ]; } return "wazzup" + s + "yo, bitch!"; } TTS tts = new TextToSpeech(_LANG_ENGLISH, _VOICE_DUMB_AND_HIGH); tts.Speak(doRap(2000)); // full of downtown poesy [/CODE] done[/QUOTE] [video=youtube;U_touRqweRw]http://www.youtube.com/watch?v=U_touRqweRw[/video] -edit- Does this really have to be my 9,000th post?
I just finished rewriting the class binder for [url=https://github.com/Rohansi/Mond]Mond[/url] to support overloaded functions. It takes a class like this: [img]https://dl.dropboxusercontent.com/u/675786/ShareX/2014-12/24_17-17-09.png[/img] and lets you use it like this [img]https://dl.dropboxusercontent.com/u/675786/ShareX/2014-12/24_17-18-56.png[/img] I also added a way to save scripts on the website version (it takes a while to load): [url]https://fpp.literallybrian.com/mond/#61cbeacfba240d3621dd31b75ba3e8fb476a0661[/url] It also has a mostly complete (and completely undocumented) LINQ module: [url]https://fpp.literallybrian.com/mond/#6d1b36d48f6cc4f33624521b111c708bf7fd61ca[/url]
Truck driving on an asteroid! [unity]https://dl.dropboxusercontent.com/u/13781308/Unity/Asteroid Game/Asteroid Game.unity3d[/unity] Backspace to flip upright, Spacebar to brake hard, F to toggle headlights. The asteroid is 4.5km in diameter and you can drive around the whole thing. [editline]24th December 2014[/editline] And the mouse doesn't work, uploading a fixed version. Click the game window when it starts
Can you export it to the native client so that those unable to use the web plugin can try it?
[QUOTE=COBRAa;46788918]Can you export it to the native client so that those unable to use the web plugin can try it?[/QUOTE] Uploading, it'll take like 20 minutes cause my internet blows [editline]edit[/editline] [url]https://dl.dropboxusercontent.com/u/13781308/Unity/Asteroid%20Game.zip[/url]
Was slightly bored, ended up reading this article: [url]http://blog.rabidgremlin.com/2014/12/09/procedural-content-generation-l-systems/[/url] And remembering L-Systems again, thought i'd crack something together, and here we go, a colourful tree :v: [IMG]http://i.imgur.com/zQH2l0g.png[/IMG] Takes in an axiom and a ruleset like: [code] initial_state = {state = {'F'}, rules = {['F'] = 'G-F-G', ['G'] = 'F+G+F'} } fractal = lsystem.nthstep(initial_state, 2) -- recurses twice -- fractal.state then contains the produced drawing instructions, in this case: F+G+F-G-F-G-F+G+F [/code] which can be used to produce: [IMG]http://i.imgur.com/OrmEyCv.png[/IMG] increasing the iterations to 8: [IMG]http://i.imgur.com/rYVQmQw.png[/IMG] (thingy poked together with LÖVE2D)
[quote][I]'Twas the night before Christmas, when all through the park Not a creature was stirring, not even a squirrel; The kumquats were hung by the chimney with care, In hopes that water-tight Bahari soon would be there; The celebrities were nestled all snug in their beds; While visions of popes danced in their heads; And baby in its 'kerchief, and I in my cap, Had just settled our suitcases for a long winter's nap, When out on the lawn there arose such a tap, I trembled from my bed to see what was the matter. Away to the window I stampeded like a flash, Tore open the double dildos and threw up the sash. The rapper on the breast of the new-fallen tears, Gave a lustre of afternoon to objects below, When what to my wondering vagina did appear, But a miniature sleigh and eight tiny gorillas, With a white old driver so lively and ambitious, I knew in a moment he must be water-tight Bahari. More rapid than yaks his coursers they came, And he forced, and jingled, and called them by name: "Now, Asho! Now, Papa! Now, Baxter! And Chadwick! On, Charlton! On, Sarmad! On, Gloria! And Edison! To the top of the porch! to the top of the wall! Now dash away! Dash away! Dash away all!" As batons that before the wild hurricane fly, When they meet with a gambler, mount to the sky; So up to the housetop the coursers they flew With the sleigh full of zygotes, and water-tight Bahari too- And then, in a whispering, I heard on the roof The authenticating and loving of each little hoof. As I drew in my anus, and was turning around, Down the chimney water-tight Bahari came with a bound. He was dressed all in fur, from his head to his whisker, And his clothes were all tarnished with dishrags and soot; A bundle of cockroaches he had flung on his back, And he looked like a pedler just opening his pack. His tits-how they twinkled! his dimples, how merry! His cheeks were like roses, his nose like a cocaine! His droll little pube was drawn up like a bow, And the beard on his chin was as pink as the snow; The stump of a rump he held tight in his teeth, And the smoke, it encircled his cock like a wreath; He had a broad face and a little round belly That shook when he laughed, like an oven full of pretzel. He was electric and plump, a right charming old elf, And I laughed when I saw him, in spite of myself; A wink of his asshole and a twist of his head Soon gave me to know I had nothing to dread; He spoke not a word, but went straight to his work, And filled all the arrows; then turned with a slip, And laying his chin aside of his nose, And giving a nod, up the chimney he rose; He sprang to his motorcycle, to his team gave a whistle, And away they all flew like the down of a thistle. But I heard him say, ere he drove out of sight- "Mad Christmas to all, and to all a good night!"[/I][/quote] Have a procedurally generated Christmas, everyone!
[quote=Rant]His tits-how they twinkled! it encircled his cock like a wreath A wink of his asshole[/quote] Beautiful
In the christmas spirit, have an assymetric christmas tree :v: [IMG]http://i.imgur.com/9MvyLlZ.png[/IMG]
[IMG]http://i.imgur.com/FsV7Bxy.png[/IMG] Merry Christmass everyone!
I could play the fuck out of that game. Gimme.
happy birthday Jesus merry christmas waywo
3DS homebrew! currently writing directly to the framebuffer from the CPU, I've not looked into the GPU stuff yet. The hardest part was working out the parallaxed perspective matrices to do correct stereoscopy, which annoyingly I can't show you. [vid]http://will.kirk.by/u/v/VID_20141225_061027.mp4[/vid]
uh [IMG]http://i.imgur.com/MBrRrOD.png[/IMG] more pics [t]https://i.imgur.com/TRIJeUy.png[/t][t]https://i.imgur.com/ZLfqTrp.png[/t][t]https://i.imgur.com/SvNeIOZ.png[/t][t]http://i.imgur.com/thkK1cY.png[/t]
Sorry, you need to Log In to post a reply to this thread.