File:Sinus par Bezier quadratique.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 320 × 200 pixels, file size: 1 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
Français : Fonction sinusoïdale approchée par une courbe de Bézier quadratique (chemin SVG).
English: Sinus function approximated by a quadratic Bézier curve (SVG path).
Date
Source Own work
Author Cdang
Other versions File:sinus_par_Bezier_cubique.svg
 
The SVG code is valid.
 
This vector image was created with a text editor.
 
Please do not replace the simplified code of this file with a version created with Inkscape or any other vector graphics editor
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="320px" height="200px" version="1.1"
     viewBox="0 0 320 200"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">

  <title> Titre </title>
  <desc> Description </desc>

  <defs>
    <style type="text/css"><![CDATA[
      path {
        fill: none;
        stroke: black;
        stroke-width: 1
      }
    ]]></style>
  </defs>

  <g id="sinus" transform="scale(0.5093, -1) translate(0, -100)">
    <path
      id="c1"
      d="M0 0
      Q96.8 102.9, 157.1 100"
    />
    <use xlink:href="#c1"
      transform="translate(314.2, 0) scale(-1, 1)" />
    <use xlink:href="#c1"
      transform="translate(314.2, 0) scale(1, -1)" />
    <use xlink:href="#c1"
      transform="translate(628.3, 0) scale(-1, -1)" />
  </g>

</svg>

The control points are obtained by optimisation, using Scilab : see source code at File:sinus_par_Bezier_cubique.svg.

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:34, 1 December 2018Thumbnail for version as of 00:34, 1 December 2018320 × 200 (1 KB)Cdang (talk | contribs)+axis
17:03, 29 November 2018Thumbnail for version as of 17:03, 29 November 2018320 × 200 (972 bytes)Cdang (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

Metadata