File:Envelope string art.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 600 × 480 pixels, file size: 88 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionEnvelope string art.svg |
English: Envelope curve of the art strings |
| Date | |
| Source | Own work |
| Author | IkamusumeFan |
| SVG development InfoField | |
| Source code InfoField | Gnuplot code#!/usr/bin/gnuplot
# Author: Ika
# Date: 12/02/2014
# last changes:
# 2018-01-28: (JoKalliauer) instead of 50 plots with one line one plot with 50 lines, and only the first has a key
set term svg font 'Liberation Sans, 24'
set output 'envelope_string_art.svg'
# In this program, the envelope equation is x^2 - 2xy + y^2 -2kx - 2ky + k^2 = 0.
# In other words, the family of the string lines is y = -(k-t)x/t + k-t.
# Each line connects (0, k-t) and (t, 0).
# Here k takes value 1.
k = 1;
# n is the number of the trajectories
n = 51;
set multiplot
set samples 1000
set xrange [0:k]
set yrange [0:k]
set xtics 0.2
set ytics 0.2
set xzeroaxis lt -1 lc rgb "black" lw 1
set yzeroaxis lt -1 lc rgb "black" lw 1
unset label
set key on
#t = i*k*1.0/n;
# The following draws the lines iteratively.
plot -1*(k-(1*k*1.0/n))*x/(1*k*1.0/n) + k-(1*k*1.0/n) t "k = 1" lc rgb "red" lw 1, \
for [i=2:n-1] -1*(k-(i*k*1.0/n))*x/(i*k*1.0/n) + k-(i*k*1.0/n) notitle lc rgb "red" lw 1;
unset multiplot
set term x11
set output
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
some value
2 December 2014
89,689 byte
image/svg+xml
6e15e619f7d58e7f40a29a83f47f0bad38b212c4
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 13:29, 28 January 2018 | 600 × 480 (88 KB) | wikimediacommons>JoKalliauer | File:Commons:Graphics_village_pump |
File usage
There are no pages that use this file.