Update '1_letters/sketch.js'

master
annasandri 4 years ago
parent 534809c6b3
commit aca26b8d7e

@ -1,37 +1,5 @@
// P_3_1_3_02
//
// Generative Gestaltung Creative Coding im Web
// ISBN: 978-3-87439-902-9, First Edition, Hermann Schmidt, Mainz, 2018
// Benedikt Groß, Hartmut Bohnacker, Julia Laub, Claudius Lazzeroni
// with contributions by Joey Lee and Niels Poldervaart
// Copyright 2018
//
// http://www.generative-gestaltung.de
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/**
* analysing and sorting the letters of a text
* connecting subsequent letters with lines
*
* MOUSE
* position x : interpolate between normal text and sorted position
*
* KEYS
* 1 : toggle lines on/off
* 2 : toggle text on/off
* 3 : switch all letters off
* 4 : switch all letters on
* a-z : switch letter on/off
* CONTROL : save png
*/
'use strict';
var joinedText;

Loading…
Cancel
Save