简体   繁体   中英

Can Processing Implement clippath?

As you known,we can draw a page showing sin waving by using clippath and continuous changing the d attribute of the path in html,but If I want to implement a clippath with processing in Java?What should I do?walkaround is welcome.

This page offer by Antonio Molinaro tell the answer.

I think this solves all your problems. The link is to a Processing applet with the source code for a Strip-Chart simulator. In the first two charts, the demo shows how to plot a sine wave. The code is very well commented. I don't think that posting nearly 200 lines of code (which everybody can download for free under the creative commons license by following the link) would ADD anything to this answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM