This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Processing Code By Nicholas Sbalbi (@nsbalbi) | |
// Twitter post: https://twitter.com/nsbalbi/status/1406696979523047437 | |
// Github gist: https://gist.github.com/nsbalbi/7c09f0101f90c45ecc391e7f64b29c10 | |
// 6-22-2021 | |
// Motion blur via @beesandbombs and inspiration from @etiennejcb | |
/* | |
Copyright (c) 2021 Nicholas Sbalbi | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Processing Code By Nicholas Sbalbi (@nsbalbi) | |
// Twitter post: https://twitter.com/nsbalbi/status/1413940646063317001 | |
// Associated tutorial: https://nsbalbi.github.io/Blog%20Posts/blog_knot.html | |
// Github gist: https://gist.github.com/nsbalbi/ab299269bb0dbfd9c1296dc3bdaad39b | |
// 7-12-2021 Updated: 7-12-2022 | |
// Motion blur via @beesandbombs | |
float t; | |
int[][] result; | |
int nFrames = 160; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Processing Code By Nicholas Sbalbi (@nsbalbi) | |
// Associated tutorial: https://nsbalbi.github.io/Blog%20Posts/blog_subdivisions.html | |
// Github gist: https://gist.github.com/nsbalbi/4f891597fb9ac2f4ba7c24ecd005b539 | |
// 7-9-2022 | |
import java.util.ArrayList; | |
float border = 50; // border between main div and frame edge | |
Div div1; // intialize first div |