[QUOTE=Karmah;49113205]Hm, I may try to refine it further later on then, although I know nothing really about hashing.
I think I understand how the technique would work, but no clue about how to implement.[/QUOTE]
[code]
float rand(vec2 co){
return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453);
}
[/code]
I don't know the source of this snippet (it's meant for glsl) but it can easily be ported to any other language. It's always meant to return the same value for a set of coordinates, just using RNG for this would make the grass flicker each time it's updated unless you set a seed before each calculation.
[editline]14th November 2015[/editline]
Alternatively, just store a random value with the points when you generate them.
For whoever cloned the marsspace project, if you tried to compile it you'll probably notice its missing a few files because I forgot to commit some dependencies (mostly the sound files, and some art too). I've not committed the actual audio itself because it costs money, although the person who wrote it probably doesn't mind
On the plus side, I've actually fixed it so it should compile. It does require [url=https://github.com/20k/funvectormaths]this[/url] vector library (which I also wrote and is suitably bad) to be in your include directory under vec
On a different note, it turns out that I am bad at art:
[IMG]https://dl.dropboxusercontent.com/u/9317774/drills.PNG[/IMG]
These are meant to be mining drills. Its not as bad as some things that I've produced, but it still makes me cry a little on the inside
The drills use a procedurally generated iron map as a modifier to their speed though, which is cool and can be visualised like this
[IMG]https://dl.dropboxusercontent.com/u/9317774/ironfun.PNG[/IMG]
I might remove the higher frequency wavyness at some point, I'm not sure it adds anything other than confusion
[QUOTE=Berkin;49114110]This fucking site
[img]http://i.imgur.com/ZbyEHjS.png[/img][/QUOTE]
I was using the flash version all along. How dumb of me.
Whatever you do on that word site, don't click on anything relating to philosophy
[quote][vid]https://a.pomf.cat/fhtiru.webm[/vid][/quote]
[QUOTE=galimatias;49117168]Whatever you do on that word site, don't click on anything relating to philosophy[/QUOTE]
That seems to be more physics' fault :v:
[QUOTE=galimatias;49117168]Whatever you do on that word site, don't click on anything relating to philosophy[/QUOTE]
Same thing happens with "poet".
[editline]14th November 2015[/editline]
And "physics"
So I've been working on a way to visualize my facebook friends. After a lot of pitiful data mining, some work with Gephy to implement the Fruchterman Reingold layout algorithm and exporting to a maps-like visualizer, here it is:
[quote][vid]http://127.wtf/friends/vid.webm[/vid][/quote]
Feel free to mess around on my personal life! [url]http://127.wtf/friends/[/url]
[editline]14th November 2015[/editline]
The different colours represent the different communities of friends, it's really interesting
I'm adding a new feature to my site soon
[IMG]http://i.imgur.com/M6qD3Rm.png[/IMG]
[QUOTE=ZpankR;49117425]So I've been working on a way to visualize my facebook friends. After a lot of pitiful data mining, some work with Gephy to implement the Fruchterman Reingold layout algorithm and exporting to a maps-like visualizer, here it is:
Feel free to mess around on my personal life! [url]http://127.wtf/friends/[/url]
[editline]14th November 2015[/editline]
The different colours represent the different communities of friends, it's really interesting[/QUOTE]
Amazing work, any way it'd be possible to get a source of this or smth, so I could view my friends the same way?
Do the clusters relate to something like where they live, school or something?
[QUOTE=tW4r;49117739]Amazing work, any way it'd be possible to get a source of this or smth, so I could view my friends the same way?[/QUOTE]
It was a fuckton of work to get it working, add me on steam and I'll try to explain!
[QUOTE=JohanGS;49117817]Do the clusters relate to something like where they live, school or something?[/QUOTE]
Yeah, since each node tends to gravitate towards the ones it has more connections to, it forms these real life clusters of friends. In my case the green ones are from my home town, red are from college and the purple ones are my work colleagues. The blue cluster that's appended to the green one are family and close friends.
Making an image previewer for fun, also the default ones on Windows sucks (and one doesn't work without registry tweaks):
[vid]https://dl.dropboxusercontent.com/u/357850863/ShareX/2015/11/2015-11-14_23-45-36.mp4[/vid]
and gif support [URL="https://github.com/XamlAnimatedGif/WpfAnimatedGif"](courtesy of WpfAnimatedGif)[/URL]
[vid]https://dl.dropboxusercontent.com/u/357850863/ShareX/2015/11/2015-11-15_00-02-09.mp4[/vid]
The bottom toolbar color also matches your accent color.
Also something pretty funny, pressing the help button on windows photo viewer (on windows 10) opens this [URL="http://www.bing.com/search?q=how+to+use+remote+desktop+to+connect+to+a+windows+10+pc&filters=guid:%226ec810e6-3fdd-409d-8a69-5cebf090807e%22%20lang:%22en-us%22&form=S00028"]page[/URL].
Edit:
[URL="https://dl.dropboxusercontent.com/u/357850863/Previewer.zip"]
Here's a test executable you can use.[/URL] Note that it's held together using duct tape at the moment, so performance is absolute trash (try switching images quickly and watch it use over 1GB+ of RAM). Right now it closely mimics normal photo viewer functionality, a few things are missing like slideshow and the Open menu, but it's almost usable as a normal photo viewer.
Edit #2:
Turns out the problem is by design in the library itself, as described [URL="https://github.com/XamlAnimatedGif/WpfAnimatedGif/issues/8"]here[/URL]. I switched over to [URL="https://github.com/XamlAnimatedGif/XamlAnimatedGif/wiki/Documentation"]xamlanimatedgif[/URL] that semi-solved the problem, although it doesn't properly release memory it uses much, much less. You can download the new version [URL="https://dl.dropboxusercontent.com/u/357850863/Release.zip"]here[/URL]. Error messages are now a thing, refactored some code, and you can manually open files. You should also not crash when opening image files that are corrupt.
Who was working on that windowless image viewer last year?
[vid]http://i.imgur.com/e4rELpx.webm[/vid]
implemented a menu
[img]http://i.imgur.com/h2sjgVe.png[/img]
and networking
[QUOTE=Map in a box;49119865][vid]http://i.imgur.com/e4rELpx.webm[/vid]
implemented a menu
[img]http://i.imgur.com/h2sjgVe.png[/img]
and networking[/QUOTE]
Is it open source? I've been wanting to make a ss13 clone for a long while now and won't mind helping you out.
It is not.. yet, anyway.
The code is too horrible and I want to fix some stuff up first.
It's written in Lua(not love2d), so if you're on board with that then cool beans.
[editline]15th November 2015[/editline]
Am debating porting it to C++ though
[editline]15th November 2015[/editline]
Content: (because I haven't posted enough right)
as one can see, desync.
[media]https://www.youtube.com/watch?v=V5bhhWE-a_I[/media]
[QUOTE=Ott;49119802]Who was working on that windowless image viewer last year?[/QUOTE]
That was probably me. [URL="https://github.com/Torrunt/vimage"]github.com/Torrunt/vimage[/URL]
[QUOTE=Torrunt;49120127]That was probably me. [URL="https://github.com/Torrunt/vimage"]github.com/Torrunt/vimage[/URL][/QUOTE]
I want you to know that ever since I discovered your program I've used it and installed it on every iteration of Windows I run. Thank you for this.
It's an amazing feeling when you're writing something and it works when you first run it.
Thanks to Berkin's help, I've improved the function responsible for finding tokens and now it turns
[code]2 6 +; # add 6 to 2[/code]
into
[code]<2,NUMBER,0>
<6,NUMBER,2>
<+,OPERATOR,4>
<;,END_OF_STATEMENT,5>
<#add 6 to 2,COMMENT,7>
[/code]
Time to work on actually processing the tokenized statement.
Rant is just so much fun. Working on random weapon generation.
[img]http://i.imgur.com/27DB84H.png[/img]
alright guys before i go and do a bunch of shit and get nowhere
what do you think about this
a music app that ignores metadata altogether and just builds your library off folder and file names
does something like that already exist?
[QUOTE=POLOPOZOZO;49121559]alright guys before i go and do a bunch of shit and get nowhere
what do you think about this
a music app that ignores metadata altogether and just builds your library off folder and file names
does something like that already exist?[/QUOTE]
That only sounds useful if you've already organized with something like foobar2000.
yes
but I've come to hate google play
Here's my wish list for music app features:
Gapless playback
Global, per-genre, per-album, and per-song [url=https://www.image-line.com/support/FLHelp/html/img_plug/plugin_fx_FruityParametricEQ2_80.jpg]parametric[/url] equalizers (additive)
Instantaneous metadata/file change updates
Play music has a good queue system
In-app track reordering (behaves just like queue reordering)
Lyrics
[QUOTE=Map in a box;49119955]It is not.. yet, anyway.
The code is too horrible and I want to fix some stuff up first.
It's written in Lua(not love2d), so if you're on board with that then cool beans.
[editline]15th November 2015[/editline]
Am debating porting it to C++ though
[editline]15th November 2015[/editline]
Content: (because I haven't posted enough right)
as one can see, desync.
[media]https://www.youtube.com/watch?v=V5bhhWE-a_I[/media][/QUOTE]
I don't recommend porting to C++, just write some modules if you need C-like speed.
Took a break this weekend from my current project and decided to do and try something different. Also really wanted to try out [url=http://pyxeledit.com/about.php]Pyxel Edit[/url] due all its cool color palettes
[vid]http://s1.webmshare.com/6MGJ1.webm[/vid]
Working on an over-ambitious project to clone Emergency 4 which is probably going to fail anyways, but I'm still going to try, because Emergency 5 sucks and I'm sick of Quadriga's shit and I'm not going to let them away with milking out consumers with the rebranded same game with just a different year number on it without putting up a fight.
Got the basics of parsing modifications and configuration ready.
[IMG]http://i.imgur.com/CgXmwBE.png[/IMG]
The modification is loaded from this:
[code]
<?xml version="1.0"?>
<metainfo>
<metadata key="mod_name" value="911: Responders" />
<metadata key="mod_author" value="Riekelt" />
<metadata key="mod_version" value="0.0.1" />
</metainfo>
[/code]
And the configuration is loaded from this:
[code]
<?xml version="1.0"?>
<configuration>
<config key="graphics_fullscreen" value="false" />
<config key="graphics_borderless" value="false" />
<config key="graphics_width" value="1024" />
<config key="graphics_height" value="768" />
</configuration>
[/code]
I'm working on a Gameboy emulator with a friend of mine. It's been about a month, and around 8,000 lines of code, but its finally showing stuff. Still got a long way to go!
[T]http://i.imgur.com/yHaEqsx.png[/T]
[QUOTE=Sidneys1;49121479]Rant is just so much fun. Working on random weapon generation.
[IMG]http://i.imgur.com/27DB84H.png[/IMG][/QUOTE]
The fucking git commands :v:
Coincidentally, I am working on the same thing.
[IMG]http://i.imgur.com/KILLIn1.png[/IMG]
Yours are better, though.
It's amusing at first, but you really should get away from "lol randumb" queries. [url=http://storage.googleapis.com/books/ngrams/books/datasetsv2.html]Google Ngrams[/url] would really help in making the text seem more natural.
Sorry, you need to Log In to post a reply to this thread.