Thursday, July 27, 2017

Minimal Clock + NN Mouse Gestures

See if you can activate the neural network that detects mouse cursor gestures.
You can open it full-screen on the original Codepen page: here.
 .
If you use ad blockers, NoScript, etc.: you'll need to enable rawgit and responsive voice.

< This blog post was auto-scheduled for 9:00 AM Thursday, July 27th, 2017. > 

_________________________

LINKS TO OTHER STUFF: 

Favourites
Programming
Original Art
Games

Tuesday, July 18, 2017

Mouse Cursor Gesture Detection

Uses a neural network programmed "from scratch". You can do up-down motions, left-right motions, and large clockwise motions with your mouse. The neural net was trained on real mouse cursor gestures. See the GitHub link below for more info. Try it right in your browser! 
See and edit the code live: Codepen
More info: GitHub
..

_________________________

LINKS TO OTHER STUFF: 

Favourites
Programming
Original Art
Games

Thursday, July 6, 2017

Make Your Own Word Inventor

Markov Word Generator

Give it words from a dictionary, and it'll create made-up words that have the same "feel", as if they're from the same language. (Also works on made-up languages like conlangs.)

The original inspiration for this project came from a YouTube video (en français): https://www.youtube.com/watch?v=YsR7r2378j0

Use It:

  • Install Python2 or Python3, numpy, and click. Macs should have Python2 installed already.
  • Download the folder from https://github.com/hchiam/word_gen (look for the clone or download button) and go to that folder using Terminal/CLI/Bash.
  • Then run this command (you'll have to wait a little while it processes your data):
python make_map.py && python create_words.py

Note: That little "&&" runs the second python command only if the first python command works. You can just re-run python create_words.py without having to run the other one (if you didn't reset the input words in input.txt).


Input data file: input.txt. Put at least about 30 words here to have the algorithm working, but maybe over a thousand to get more robust/realistic results. You can get real word lists from the Gutenberg project.

Output data file: output.txt. See your words get generated here! :)


_________________________
 
Credits: 
You can see the original code here: https://sciencetonnante.wordpress.com/2015/10/16/la-machine-a-inventer-des-mots-video/
(I just cleaned things up more after forking https://github.com/scls19fr/word_gen).
_________________________

LINKS TO OTHER STUFF: 

Favourites
Programming
Original Art
Games