please login, before you can comment
help
please login, before you can comment
entering comments of at least 10 characters is helpful
enter a valid email address
This little generator is finally a conversational piece.
It has an main palette black&white,
but also a colour mode, where the foreground colours are chosen
I am using three 3 figures / shapes
The stripe with a width of 0.5 units ,
the rectangle with a width/depth between 1 and 4 units, yet w!=d
this also pre-sets the orientation for the rectangles, for the stripes it is also the longer side
and the famous SQUARE - it has an randomly chosen orientation.
the moduleTweetRandom.lib.js is used.
on any new comment a new figure is generated with width, depth, colour, shadowColour, shadow offsets x and y, orientation and some other parameters, which will be used for animations.
right now, the implementation is a self conversation. For future releases I have a simple 'one*one' chat in mind, with a user list to select from.
It take a lot of time to fill the whole 6x6 grid.
A unit is 1/6th of the width/depth of the canvas.
Timing doesn't play any role in the "randomness". It's demonstrates the value of the user input
I future I might implement a carry on button, where two users can continue a conversation.
The login is super simple therefore UNSAFE.
But it can be stored in localStorage or in a REST API server db.
push and pull REST API server
the timestamp from the server is the leading value
unlike a normal REST API the server will answer with a figure.
The 'drawing' happens in the server.
This should grant not only similar but the same results in an conversation of two persons.