Code Monkey home page Code Monkey logo

unity_knit's Introduction

Unity_Knit

This project is made for my first wedding ceremoy. I use Unity to made an implementation of petros vrellis's knitting. The method is inspired by Eric Heitz's Research Page

input prediction realization

closeup1

closeup2 wip

sequence Input parameters: Input image, Nails number, knitting path number, cavas resolution.

We set the cavas resolution to be 2048. The cavase and fish line are bought from Taobao. The cavas is 50 cm in diameter and 157 cm in perimeters. The nails is knocked 5 mm each. Fish line is 0.12mm in diameter and 1500m long.

中文

这项工程是我和我老婆的结婚第一年生日礼物,是用线缝纫出来的我们的双人头像。 这项工程的输入参数有头像照片,钉子数目,缝纫线端长度和画布尺寸。 材料是由淘宝购得,分别是50cm直径圆形画板,0.12mm 黑色鱼线1500m,和钉子若干。

实施步骤。

第一步是钉钉,我们在网上买的画板直径157cm,我们用5毫米的距离钉钉子,这样的间距是精度和工作量的一个很好的平衡,这样一共315个钉子。我们用4k个线段来模拟输入图像。本工程更具具输入的参数进行线段模拟,通过误差较真的方法生成拟合线段,作者的图像模拟用了10个小时生成局部最优结果。最好将模拟结果既线段排列文本输出。最后更具模拟输出结果用鱼线连起来即为最后作品。

unity_knit's People

Contributors

sienaiwun avatar

Watchers

 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.