Git Product home page Git Product logo

unity-curve-utils's Introduction

日本語の Readme はこちら

UnityCurveUtils

A utility that can use 18 kinds of curve algorithm.

Version

  • Unity 2018.3.0f2

Example

An example of use of each curve algorithm is stored in "Example" folder.

Algorithm list

B-Spline curve

var point = UnityCurveUtils.B_SplineCurve( x1, y1, x2, y2, x3, y3, t );

Bezier curve

var point = UnityCurveUtils.BezierCurve( x1, y1, x2, y2, x3, y3, x4, y4, t );

Hyperbolic spiral

var point = UnityCurveUtils.HyperbolicSpiral( a, c theta );

Witch of agnesi

var point = UnityCurveUtils.WitchOfAgnesi( a, theta );

Folium of descartes

var point = UnityCurveUtils.FoliumOfDescartes( a, theta );

Ellipse

var point = UnityCurveUtils.Ellipse( a, b, theta );

Hyperbola

var point = UnityCurveUtils.Hyperbola( a, b, theta );

Involute of circle

var point = UnityCurveUtils.InvoluteOfCircle( a, theta );

Strophoid

var point = UnityCurveUtils.Strophoid( a, theta );

Conchoid

var point = UnityCurveUtils.Conchoid( a, l, theta );

Cissoid

var point = UnityCurveUtils.Cissoid( a, theta );

Lissajous curve

var point = UnityCurveUtils.LissajousCurve( A, B, a, b, delta, theta );

Trochoid

var point = UnityCurveUtils.Trochoid( rm, theta, rd );

Epitrocoid

var point = UnityCurveUtils.Epitrocoid( rc, rm, theta, rd );

Hypetrocoid

var point = UnityCurveUtils.Hypetrocoid( rc, rm, theta, rd );

Cycloid

var point = UnityCurveUtils.Cycloid( rm, theta );

Epicycloid

var point = UnityCurveUtils.Epicycloid( rm, rd, theta );

Hypocycloid

var point = UnityCurveUtils.Hypocycloid( rm, rd, theta );

unity-curve-utils's People

Contributors

baba-s avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.