Stochastic neighbor embedding meets Voronoi tessellation.

Overview

Sneronoi

This repository contains the source code for the generative art collection Sneronoi, written by Claus O. Wilke and released on fx(hash) on Dec. 27, 2021.

The code is provided as is, with some very minor clean-up compared to the published version. Generated outputs are identical. The code is licensed under CC-BY, so it can be used for derivative NFT projects. One of the main features of the code is a 2D JavaScript implementation of t-SNE with relatively good performance.

How to build and run the code locally

The Sneronoi code is derived from the fx(hash) webpack boilerplate. Installation and usage instructions are identical to the boilerplate and are reproduced here with minor change.

You will need to have nodejs installed.

Installation

First, make sure that your node version is >= 14

Clone the repository on your machine and move to the directory

$ git clone https://github.com/clauswilke/sneronoi.git your_folder && cd your_folder

Install the packages required for the local environment

$ npm i

Start local environment

$ npm start

This last command will start a local http server with live reloading enabled. Open http://localhost:8080 to see the project in the browser.

Build

$ npm run build

Will bundle the js dependencies into a single minified bundle.js file, move the files from the public/ to the dist/ folder, and link the bundle.js with the index.html. Moreover, it will create a dist-zipped/project.zip file which can be directly imported on fxhash.

Frequently asked questions

Can I really use this code for my own NFT projects?

Yes, you just have to acknowledge that you used my code. Something like the following in the description of your work would be appropriate: "Based on Sneronoi code by Claus O. Wilke, licensed under CC-BY."

I don't want to reproduce your art. Is this even useful?

t-SNE is a very flexible algorithm and depending on input parameters and visualization choices can produce many different types of artworks. I think that if you try a bit, you can make it your own. As an example, check out the pieces on my website, for example t-SNE, Shards of Blue, or Nonlinear Dimension Reduction. Also, I'd like to point out that two other pieces I released on fx(hash), Incomplete Convergence and Voxelsne, were derived from the code in this repository.

I don't want to use t-SNE but I like your color palettes. Can I use them?

Yes! But you do have to acknowledge where you got them from. Something like the following in the description of your work would be appropriate: "Color palettes taken from Sneronoi project by Claus O. Wilke, licensed under CC-BY."

You might also like...

A personal semantic search engine capable of surfacing relevant bookmarks, journal entries, notes, blogs, contacts, and more, built on an efficient document embedding algorithm and Monocle's personal search index.

A personal semantic search engine capable of surfacing relevant bookmarks, journal entries, notes, blogs, contacts, and more, built on an efficient document embedding algorithm and Monocle's personal search index.

Revery 🦅 Revery is a semantic search engine that operates on my Monocle search index. While Revery lets me search through the same database of tens o

Dec 30, 2022

An open source Javascript framework for detecting the Adobe Flash Player plugin and embedding Flash (swf) files.

— IMPORTANT UPDATE —¶ ↑ SWFObject is no longer in active development. Flash Player is on the decline, and the authors of SWFObject have moved on to ot

Nov 27, 2022

A Hackable Markdown Note Application for Programmers. Version control, AI completion, mind map, documents encryption, code snippet running, integrated terminal, chart embedding, HTML applets, plug-in, and macro replacement.

A Hackable Markdown Note Application for Programmers. Version control, AI completion, mind map, documents encryption, code snippet running, integrated terminal, chart embedding, HTML applets, plug-in, and macro replacement.

Yank Note A hackable markdown note application for programmers Download | Try it Online Not ecommended English | 中文说明 [toc]{level: [2]} Highlights

Dec 31, 2022

Experimental proxy and wrapper for safely embedding Web Archives (warc.gz, wacz) into web pages.

warc-embed-netlify 🏛️ Experimental proxy and wrapper for safely embedding Web Archives (.warc.gz, .wacz) into web pages. This particular implementati

Sep 1, 2022

Prismatic's library for embedding a prismatic.io marketplace in your app

@prismatic-io/marketplace @prismatic-io/marketplace allows you to to embed Prismatic's Integration Marketplace within your web application, giving you

Dec 15, 2022
MySQL meets Jupyter notebooks. Grasp provides a new way to learn and write SQL, by providing a coding-notebook style with runnable blocks, markdown documentation, and shareable notebooks. ✨

A New Way to Write & Learn SQL Report Bug · Request Feature Table of Contents About The Project Built With Getting Started Prerequisites Installation

Lakshya 7 Sep 1, 2022
⏱ A Google Chrome extension for keeping track of who is talking during Google Meets

Am I Talking A Lot? ⏱ A Google Chrome extension for keeping track of who is talking during Google Meets Features Tracks talking time for each particip

Sean McPherson 8 Oct 5, 2022
A personal semantic search engine capable of surfacing relevant bookmarks, journal entries, notes, blogs, contacts, and more, built on an efficient document embedding algorithm and Monocle's personal search index.

Revery ?? Revery is a semantic search engine that operates on my Monocle search index. While Revery lets me search through the same database of tens o

Linus Lee 215 Dec 30, 2022
A Hackable Markdown Note Application for Programmers. Version control, AI completion, mind map, documents encryption, code snippet running, integrated terminal, chart embedding, HTML applets, plug-in, and macro replacement.

Yank Note A hackable markdown note application for programmers Download | Try it Online >>> Not ecommended English | 中文说明 [toc]{level: [2]} Highlights

洋子 4.3k Dec 31, 2022
Experimental proxy and wrapper for safely embedding Web Archives (warc.gz, wacz) into web pages.

warc-embed-netlify ??️ Experimental proxy and wrapper for safely embedding Web Archives (.warc.gz, .wacz) into web pages. This particular implementati

Harvard Library Innovation Laboratory 6 Sep 1, 2022
Prismatic's library for embedding a prismatic.io marketplace in your app

@prismatic-io/marketplace @prismatic-io/marketplace allows you to to embed Prismatic's Integration Marketplace within your web application, giving you

Prismatic.io 7 Dec 15, 2022
A pokemon-like project game where you level up by hacking your neighbor.

CTF BourgPalette A pokemon-like project game where you level up by hacking your neighbor. You play as a new hacker. You are not trying to capture all

VB 23 Dec 27, 2022
MySQL meets Jupyter notebooks. Grasp provides a new way to learn and write SQL, by providing a coding-notebook style with runnable blocks, markdown documentation, and shareable notebooks. ✨

A New Way to Write & Learn SQL Report Bug · Request Feature Table of Contents About The Project Built With Getting Started Prerequisites Installation

Lakshya 7 Sep 1, 2022
⏱ A Google Chrome extension for keeping track of who is talking during Google Meets

Am I Talking A Lot? ⏱ A Google Chrome extension for keeping track of who is talking during Google Meets Features Tracks talking time for each particip

Sean McPherson 8 Oct 5, 2022
The NASA WorldWind Javascript SDK (WebWW) includes the library and examples for creating geo-browser web applications and for embedding a 3D globe in HTML5 web pages.

Web WorldWind New versions of WorldWind released Web WorldWind 0.10.0 and WorldWind Java 2.2.0 are now available on GitHub. The new version of Web Wor

NASA WorldWind 770 Jan 1, 2023