HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rsiqueira

no profile record

Submissions

Fireworks, New Year, and Xmas golfed JavaScript code (in 140 characters or less)

dwitter.net
1 points·by rsiqueira·vor 2 Jahren·1 comments

comments

rsiqueira
·vor 6 Monaten·discuss
A small, curated collection of generative sketches written in 140 characters each, using plain JavaScript on dwitter.net.

Fractals: https://www.dwitter.net/h/fractal

Dynamical systems / chaos: https://www.dwitter.net/h/chaos

Strange attractors: https://www.dwitter.net/h/attractor

Spiral-based generative art: https://www.dwitter.net/h/spiral

Fireworks simulation: https://www.dwitter.net/h/fireworks

Procedural scenes: https://www.dwitter.net/h/scene

Wavelets (3D and 2D): https://www.dwitter.net/h/wavelet

And the most popular dweets: https://www.dwitter.net/top/all
rsiqueira
·vor 2 Jahren·discuss
Dwitter is a JavaScript-based social network where coders showcase their creativity by crafting mesmerizing animations and visual effects in just 140 characters of code. Check out this festive collection of fireworks, New Year, and Christmas-themed masterpieces!
rsiqueira
·vor 2 Jahren·discuss
Here is a sample of an animated XOR texture in just 122 characters of JS code: https://www.dwitter.net/d/255

And here are several variations using other binary operators to create the Sierpinski triangle: https://www.dwitter.net/h/sierpinski
rsiqueira
·vor 2 Jahren·discuss
* Which languages is it available in?

* Does the system automatically detect the language?

* What are the hardware requirements for it to work?
rsiqueira
·vor 2 Jahren·discuss
In one of those random connections, I met my wife through ICQ.
rsiqueira
·vor 2 Jahren·discuss
Some samples from the article are similar to what is found on my favorite Generative Art site - Dwitter. It's a social network of coders where we can view, interact and remix live code. Everything under 140 characters of creative JavaScript code: https://www.dwitter.net/top/all
rsiqueira
·vor 2 Jahren·discuss
REQUEST: Please add an option for a monospace/code font. I see that <pre><code>...</code></pre> works very well (good monospace block style), but I have to inspect and edit the source.

With this, we could be able to use it for code!

THANKS!
rsiqueira
·vor 3 Jahren·discuss
There are IFS-like fractals that can be generated using small iterative functions. Here are examples in JavaScript that can be remixed (and they are very short, only 140 characters or less). E.g.: https://www.dwitter.net/h/fractal and https://www.dwitter.net/h/fern

Dwitter is a cool social network where JavaScript programmers can share demos, fractals, art algorithms and interactive code viewed on <canvas>.
rsiqueira
·vor 3 Jahren·discuss
URGENT - Does anyone have an alternative to OpenAI's embeddings API? I do have alternative to GPT's API (e.g. Anthropic Claude) but I'm not able to use them without embeddings API (used to generate semantic representation of my knowledge base and also to create embeddings from user's queries). We need to have an alternative to OpenAI's embeddings as a fallback in case of outages.
rsiqueira
·vor 3 Jahren·discuss
Is this equivalent to a 14 gram bullet (10x less than your example) travelling at 1000 km/h (10x more than your example)? Or a 1,4 gram bullet at 10.000 km/h hitting you?
rsiqueira
·vor 4 Jahren·discuss
Article says: "Talking to strangers can teach you things, deepen you, make you a better citizen, a better thinker, and a better person. It's a good way to live. But it's more than that. In a rapidly changing, infinitely complex, furiously polarised world, it's a way to survive."

"The study participants who interacted when buying their coffee reported feeling a stronger sense of belonging and an improved mood than those who didn't talk to the stranger."